var OGVDecoderVideoVP8
(function() {
  var scriptSrc;
  if (typeof document !== 'undefined' && document.currentScript) scriptSrc = document.currentScript.src;
OGVDecoderVideoVP8 = function(OGVDecoderVideoVP8) {
  OGVDecoderVideoVP8 = OGVDecoderVideoVP8 || {};
  if (!OGVDecoderVideoVP8.currentScriptUrl) OGVDecoderVideoVP8.currentScriptUrl = scriptSrc;
  var Module = OGVDecoderVideoVP8;

var options=Module;Module={print:(function(str){console.log(str)})};if(typeof OGVLoader!=="undefined"){Module["pthreadMainPrefixURL"]=OGVLoader.base+"/"}if(options["memoryLimit"]&&!options.wasmBinary){Module["TOTAL_MEMORY"]=options["memoryLimit"]}for(option in options){if(options.hasOwnProperty(option)){Module[option]=options[option]}}var Math_imul_orig=Math.imul;var OGVDecoderVideoVP8=Module;var Module;if(!Module)Module=(typeof OGVDecoderVideoVP8!=="undefined"?OGVDecoderVideoVP8:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else if(Module["ENVIRONMENT"]==="PTHREAD"){ENVIRONMENT_IS_WORKER=true;ENVIRONMENT_IS_PTHREAD=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);return binary?ret:ret.toString()};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function shell_read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof quit==="function"){Module["quit"]=(function(status,toThrow){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return xhr.response}}Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function shell_print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function shell_printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}if(!Module["quit"]){Module["quit"]=(function(status,toThrow){throw toThrow})}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var Runtime={setTempRet0:(function(value){tempRet0=value;return value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}),getNativeFieldSize:(function(type){return Math.max(Runtime.getNativeTypeSize(type),Runtime.QUANTUM_SIZE)}),STACK_ALIGN:16,prepVararg:(function(ptr,type){if(type==="double"||type==="i64"){if(ptr&7){assert((ptr&7)===4);ptr+=4}}else{assert((ptr&3)===0)}return ptr}),getAlignSize:(function(type,size,vararg){if(!vararg&&(type=="i64"||type=="double"))return 8;if(!type)return Math.min(size,8);return Math.min(size||(type?Runtime.getNativeFieldSize(type):0),Runtime.QUANTUM_SIZE)}),dynCall:(function(sig,ptr,args){if(args&&args.length){return Module["dynCall_"+sig].apply(null,[ptr].concat(args))}else{return Module["dynCall_"+sig].call(null,ptr)}}),functionPointers:[],addFunction:(function(func){for(var i=0;i<Runtime.functionPointers.length;i++){if(!Runtime.functionPointers[i]){Runtime.functionPointers[i]=func;return 2*(1+i)}}throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."}),removeFunction:(function(index){Runtime.functionPointers[(index-2)/2]=null}),warnOnce:(function(text){if(!Runtime.warnOnce.shown)Runtime.warnOnce.shown={};if(!Runtime.warnOnce.shown[text]){Runtime.warnOnce.shown[text]=1;Module.printErr(text)}}),funcWrappers:{},getFuncWrapper:(function(func,sig){assert(sig);if(!Runtime.funcWrappers[sig]){Runtime.funcWrappers[sig]={}}var sigCache=Runtime.funcWrappers[sig];if(!sigCache[func]){if(sig.length===1){sigCache[func]=function dynCall_wrapper(){return Runtime.dynCall(sig,func)}}else if(sig.length===2){sigCache[func]=function dynCall_wrapper(arg){return Runtime.dynCall(sig,func,[arg])}}else{sigCache[func]=function dynCall_wrapper(){return Runtime.dynCall(sig,func,Array.prototype.slice.call(arguments))}}}return sigCache[func]}),getCompilerSetting:(function(name){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"}),stackAlloc:(function(size){var ret=STACKTOP;STACKTOP=STACKTOP+size|0;STACKTOP=STACKTOP+15&-16;return ret}),staticAlloc:(function(size){var ret=STATICTOP;STATICTOP=STATICTOP+size|0;STATICTOP=STATICTOP+15&-16;return ret}),dynamicAlloc:(function(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=(ret+size+15|0)&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;if(end>=TOTAL_MEMORY){var success=enlargeMemory();if(!success){HEAP32[DYNAMICTOP_PTR>>2]=ret;return 0}}return ret}),alignMemory:(function(size,quantum){var ret=size=Math.ceil(size/(quantum?quantum:16))*(quantum?quantum:16);return ret}),makeBigInt:(function(low,high,unsigned){var ret=unsigned?+(low>>>0)+ +(high>>>0)*+4294967296:+(low>>>0)+ +(high|0)*+4294967296;return ret}),GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module["Runtime"]=Runtime;var ABORT=0;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];if(!func){try{func=eval("_"+ident)}catch(e){}}assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)");return func}var cwrap,ccall;((function(){var JSfuncs={"stackSave":(function(){Runtime.stackSave()}),"stackRestore":(function(){Runtime.stackRestore()}),"arrayToC":(function(arr){var ret=Runtime.stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=Runtime.stackAlloc(len);stringToUTF8(str,ret,len)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};ccall=function ccallFunc(ident,returnType,argTypes,args,opts){var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i<args.length;i++){var converter=toC[argTypes[i]];if(converter){if(stack===0)stack=Runtime.stackSave();cArgs[i]=converter(args[i])}else{cArgs[i]=args[i]}}}var ret=func.apply(null,cArgs);if(returnType==="string")ret=Pointer_stringify(ret);if(stack!==0){if(opts&&opts.async){EmterpreterAsync.asyncFinalizers.push((function(){Runtime.stackRestore(stack)}));return}Runtime.stackRestore(stack)}return ret};var sourceRegex=/^function\s*[a-zA-Z$_0-9]*\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;function parseJSFunc(jsfunc){var parsed=jsfunc.toString().match(sourceRegex).slice(1);return{arguments:parsed[0],body:parsed[1],returnValue:parsed[2]}}var JSsource=null;function ensureJSsource(){if(!JSsource){JSsource={};for(var fun in JSfuncs){if(JSfuncs.hasOwnProperty(fun)){JSsource[fun]=parseJSFunc(JSfuncs[fun])}}}}cwrap=function cwrap(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident);var numericArgs=argTypes.every((function(type){return type==="number"}));var numericRet=returnType!=="string";if(numericRet&&numericArgs){return cfunc}var argNames=argTypes.map((function(x,i){return"$"+i}));var funcstr="(function("+argNames.join(",")+") {";var nargs=argTypes.length;if(!numericArgs){ensureJSsource();funcstr+="var stack = "+JSsource["stackSave"].body+";";for(var i=0;i<nargs;i++){var arg=argNames[i],type=argTypes[i];if(type==="number")continue;var convertCode=JSsource[type+"ToC"];funcstr+="var "+convertCode.arguments+" = "+arg+";";funcstr+=convertCode.body+";";funcstr+=arg+"=("+convertCode.returnValue+");"}}var cfuncname=parseJSFunc((function(){return cfunc})).returnValue;funcstr+="var ret = "+cfuncname+"("+argNames.join(",")+");";if(!numericRet){var strgfy=parseJSFunc((function(){return Pointer_stringify})).returnValue;funcstr+="ret = "+strgfy+"(ret);"}if(!numericArgs){ensureJSsource();funcstr+=JSsource["stackRestore"].body.replace("()","(stack)")+";"}funcstr+="return ret})";return eval(funcstr)}}))();Module["ccall"]=ccall;Module["cwrap"]=cwrap;function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}Module["setValue"]=setValue;function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for setValue: "+type)}return null}Module["getValue"]=getValue;var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;Module["ALLOC_NORMAL"]=ALLOC_NORMAL;Module["ALLOC_STACK"]=ALLOC_STACK;Module["ALLOC_STATIC"]=ALLOC_STATIC;Module["ALLOC_DYNAMIC"]=ALLOC_DYNAMIC;Module["ALLOC_NONE"]=ALLOC_NONE;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[typeof _malloc==="function"?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var ptr=ret,stop;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr<stop;ptr+=4){HEAP32[ptr>>2]=0}stop=ret+size;while(ptr<stop){HEAP8[ptr++>>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i<size){var curr=slab[i];if(typeof curr==="function"){curr=Runtime.getFunctionIndex(curr)}type=singleType||types[i];if(type===0){i++;continue}if(type=="i64")type="i32";setValue(ret+i,curr,type);if(previousType!==type){typeSize=Runtime.getNativeTypeSize(type);previousType=type}i+=typeSize}return ret}Module["allocate"]=allocate;function getMemory(size){if(!staticSealed)return Runtime.staticAlloc(size);if(!runtimeInitialized)return Runtime.dynamicAlloc(size);return _malloc(size)}Module["getMemory"]=getMemory;function Pointer_stringify(ptr,length){if(length===0||!ptr)return"";var hasUtf=0;var t;var i=0;while(1){t=HEAPU8[ptr+i>>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return Module["UTF8ToString"](ptr)}Module["Pointer_stringify"]=Pointer_stringify;function AsciiToString(ptr){var str="";while(1){var ch=HEAP8[ptr++>>0];if(!ch)return str;str+=String.fromCharCode(ch)}}Module["AsciiToString"]=AsciiToString;function stringToAscii(str,outPtr){return writeAsciiToMemory(str,outPtr,false)}Module["stringToAscii"]=stringToAscii;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(u8Array,idx){var endPtr=idx;while(u8Array[endPtr])++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var u0,u1,u2,u3,u4,u5;var str="";while(1){u0=u8Array[idx++];if(!u0)return str;if(!(u0&128)){str+=String.fromCharCode(u0);continue}u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u3=u8Array[idx++]&63;if((u0&248)==240){u0=(u0&7)<<18|u1<<12|u2<<6|u3}else{u4=u8Array[idx++]&63;if((u0&252)==248){u0=(u0&3)<<24|u1<<18|u2<<12|u3<<6|u4}else{u5=u8Array[idx++]&63;u0=(u0&1)<<30|u1<<24|u2<<18|u3<<12|u4<<6|u5}}}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}}Module["UTF8ArrayToString"]=UTF8ArrayToString;function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}Module["UTF8ToString"]=UTF8ToString;function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}Module["stringToUTF8Array"]=stringToUTF8Array;function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}Module["stringToUTF8"]=stringToUTF8;function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}Module["lengthBytesUTF8"]=lengthBytesUTF8;var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function demangle(func){var __cxa_demangle_func=Module["___cxa_demangle"]||Module["__cxa_demangle"];if(__cxa_demangle_func){try{var s=func.substr(1);var len=lengthBytesUTF8(s)+1;var buf=_malloc(len);stringToUTF8(s,buf,len);var status=_malloc(4);var ret=__cxa_demangle_func(buf,0,0,status);if(getValue(status,"i32")===0&&ret){return Pointer_stringify(ret)}}catch(e){}finally{if(buf)_free(buf);if(status)_free(status);if(ret)_free(ret)}return func}Runtime.warnOnce("warning: build with  -s DEMANGLE_SUPPORT=1  to link in libcxxabi demangling");return func}function demangleAll(text){var regex=/__Z[\w\d_]+/g;return text.replace(regex,(function(x){var y=demangle(x);return x===y?x:x+" ["+y+"]"}))}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}Module["stackTrace"]=stackTrace;var HEAP,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferViews(){Module["HEAP8"]=HEAP8=new Int8Array(buffer);Module["HEAP16"]=HEAP16=new Int16Array(buffer);Module["HEAP32"]=HEAP32=new Int32Array(buffer);Module["HEAPU8"]=HEAPU8=new Uint8Array(buffer);Module["HEAPU16"]=HEAPU16=new Uint16Array(buffer);Module["HEAPU32"]=HEAPU32=new Uint32Array(buffer);Module["HEAPF32"]=HEAPF32=new Float32Array(buffer);Module["HEAPF64"]=HEAPF64=new Float64Array(buffer)}var STATIC_BASE,STATICTOP,staticSealed;var STACK_BASE,STACKTOP,STACK_MAX;var DYNAMIC_BASE,DYNAMICTOP_PTR;STATIC_BASE=STATICTOP=STACK_BASE=STACKTOP=STACK_MAX=DYNAMIC_BASE=DYNAMICTOP_PTR=0;staticSealed=false;function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with  -s TOTAL_MEMORY=X  with X higher than the current value "+TOTAL_MEMORY+", (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||33554432;if(TOTAL_MEMORY<TOTAL_STACK)Module.printErr("TOTAL_MEMORY should be larger than TOTAL_STACK, was "+TOTAL_MEMORY+"! (TOTAL_STACK="+TOTAL_STACK+")");if(Module["buffer"]){buffer=Module["buffer"]}else{{buffer=new ArrayBuffer(TOTAL_MEMORY)}}updateGlobalBufferViews();function getTotalMemory(){return TOTAL_MEMORY}HEAP32[0]=1668509029;HEAP16[1]=25459;if(HEAPU8[2]!==115||HEAPU8[3]!==99)throw"Runtime error: expected the system to be little-endian!";Module["HEAP"]=HEAP;Module["buffer"]=buffer;Module["HEAP8"]=HEAP8;Module["HEAP16"]=HEAP16;Module["HEAP32"]=HEAP32;Module["HEAPU8"]=HEAPU8;Module["HEAPU16"]=HEAPU16;Module["HEAPU32"]=HEAPU32;Module["HEAPF32"]=HEAPF32;Module["HEAPF64"]=HEAPF64;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["dynCall_vi"](func,callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__);runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}Module["addOnPreRun"]=addOnPreRun;function addOnInit(cb){__ATINIT__.unshift(cb)}Module["addOnInit"]=addOnInit;function addOnPreMain(cb){__ATMAIN__.unshift(cb)}Module["addOnPreMain"]=addOnPreMain;function addOnExit(cb){__ATEXIT__.unshift(cb)}Module["addOnExit"]=addOnExit;function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}Module["addOnPostRun"]=addOnPostRun;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}Module["intArrayFromString"]=intArrayFromString;function intArrayToString(array){var ret=[];for(var i=0;i<array.length;i++){var chr=array[i];if(chr>255){chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}Module["intArrayToString"]=intArrayToString;function writeStringToMemory(string,buffer,dontAddNull){Runtime.warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var lastChar,end;if(dontAddNull){end=buffer+lengthBytesUTF8(string);lastChar=HEAP8[end]}stringToUTF8(string,buffer,Infinity);if(dontAddNull)HEAP8[end]=lastChar}Module["writeStringToMemory"]=writeStringToMemory;function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i<str.length;++i){HEAP8[buffer++>>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}Module["writeAsciiToMemory"]=writeAsciiToMemory;if(!Math["imul"]||Math["imul"](4294967295,5)!==-5)Math["imul"]=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};Math.imul=Math["imul"];if(!Math["clz32"])Math["clz32"]=(function(x){x=x>>>0;for(var i=0;i<32;i++){if(x&1<<31-i)return i}return 32});Math.clz32=Math["clz32"];if(!Math["trunc"])Math["trunc"]=(function(x){return x<0?Math.ceil(x):Math.floor(x)});Math.trunc=Math["trunc"];var Math_abs=Math.abs;var Math_cos=Math.cos;var Math_sin=Math.sin;var Math_tan=Math.tan;var Math_acos=Math.acos;var Math_asin=Math.asin;var Math_atan=Math.atan;var Math_atan2=Math.atan2;var Math_exp=Math.exp;var Math_log=Math.log;var Math_sqrt=Math.sqrt;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_pow=Math.pow;var Math_imul=Math.imul;var Math_fround=Math.fround;var Math_round=Math.round;var Math_min=Math.min;var Math_clz32=Math.clz32;var Math_trunc=Math.trunc;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}Module["addRunDependency"]=addRunDependency;function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["removeRunDependency"]=removeRunDependency;Module["preloadedImages"]={};Module["preloadedAudios"]={};var ASM_CONSTS=[];STATIC_BASE=Runtime.GLOBAL_BASE;STATICTOP=STATIC_BASE+10336;__ATINIT__.push();allocate([0,0,0,0,0,0,0,0,0,7,6,6,5,5,5,5,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,112,0,16,0,96,0,32,0,80,0,48,0,64,0,64,0,48,0,80,0,32,0,96,0,16,0,112,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,250,255,123,0,12,0,255,255,0,0,2,0,245,255,108,0,36,0,248,255,1,0,0,0,247,255,93,0,50,0,250,255,0,0,3,0,240,255,77,0,77,0,240,255,3,0,0,0,250,255,50,0,93,0,247,255,0,0,1,0,248,255,36,0,108,0,245,255,2,0,0,0,255,255,12,0,123,0,250,255,0,0,7,0,0,0,6,0,0,0,7,0,0,0,1,0,0,0,1,0,0,0,143,0,0,0,14,0,0,0,18,0,0,0,14,0,0,0,107,0,0,0,135,0,0,0,64,0,0,0,57,0,0,0,68,0,0,0,60,0,0,0,56,0,0,0,128,0,0,0,65,0,0,0,159,0,0,0,134,0,0,0,128,0,0,0,34,0,0,0,234,0,0,0,188,0,0,0,128,0,0,0,28,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,20,0,0,0,21,0,0,0,21,0,0,0,22,0,0,0,22,0,0,0,23,0,0,0,23,0,0,0,24,0,0,0,25,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,37,0,0,0,37,0,0,0,38,0,0,0,39,0,0,0,40,0,0,0,41,0,0,0,42,0,0,0,43,0,0,0,44,0,0,0,45,0,0,0,46,0,0,0,46,0,0,0,47,0,0,0,48,0,0,0,49,0,0,0,50,0,0,0,51,0,0,0,52,0,0,0,53,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,57,0,0,0,58,0,0,0,59,0,0,0,60,0,0,0,61,0,0,0,62,0,0,0,63,0,0,0,64,0,0,0,65,0,0,0,66,0,0,0,67,0,0,0,68,0,0,0,69,0,0,0,70,0,0,0,71,0,0,0,72,0,0,0,73,0,0,0,74,0,0,0,75,0,0,0,76,0,0,0,76,0,0,0,77,0,0,0,78,0,0,0,79,0,0,0,80,0,0,0,81,0,0,0,82,0,0,0,83,0,0,0,84,0,0,0,85,0,0,0,86,0,0,0,87,0,0,0,88,0,0,0,89,0,0,0,91,0,0,0,93,0,0,0,95,0,0,0,96,0,0,0,98,0,0,0,100,0,0,0,101,0,0,0,102,0,0,0,104,0,0,0,106,0,0,0,108,0,0,0,110,0,0,0,112,0,0,0,114,0,0,0,116,0,0,0,118,0,0,0,122,0,0,0,124,0,0,0,126,0,0,0,128,0,0,0,130,0,0,0,132,0,0,0,134,0,0,0,136,0,0,0,138,0,0,0,140,0,0,0,143,0,0,0,145,0,0,0,148,0,0,0,151,0,0,0,154,0,0,0,157,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,23,0,0,0,24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,37,0,0,0,38,0,0,0,39,0,0,0,40,0,0,0,41,0,0,0,42,0,0,0,43,0,0,0,44,0,0,0,45,0,0,0,46,0,0,0,47,0,0,0,48,0,0,0,49,0,0,0,50,0,0,0,51,0,0,0,52,0,0,0,53,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,57,0,0,0,58,0,0,0,60,0,0,0,62,0,0,0,64,0,0,0,66,0,0,0,68,0,0,0,70,0,0,0,72,0,0,0,74,0,0,0,76,0,0,0,78,0,0,0,80,0,0,0,82,0,0,0,84,0,0,0,86,0,0,0,88,0,0,0,90,0,0,0,92,0,0,0,94,0,0,0,96,0,0,0,98,0,0,0,100,0,0,0,102,0,0,0,104,0,0,0,106,0,0,0,108,0,0,0,110,0,0,0,112,0,0,0,114,0,0,0,116,0,0,0,119,0,0,0,122,0,0,0,125,0,0,0,128,0,0,0,131,0,0,0,134,0,0,0,137,0,0,0,140,0,0,0,143,0,0,0,146,0,0,0,149,0,0,0,152,0,0,0,155,0,0,0,158,0,0,0,161,0,0,0,164,0,0,0,167,0,0,0,170,0,0,0,173,0,0,0,177,0,0,0,181,0,0,0,185,0,0,0,189,0,0,0,193,0,0,0,197,0,0,0,201,0,0,0,205,0,0,0,209,0,0,0,213,0,0,0,217,0,0,0,221,0,0,0,225,0,0,0,229,0,0,0,234,0,0,0,239,0,0,0,245,0,0,0,249,0,0,0,254,0,0,0,3,1,0,0,8,1,0,0,13,1,0,0,18,1,0,0,23,1,0,0,28,1,0,0,1,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,3,0,0,0,3,0,0,0,0,1,0,0,4,0,0,0,1,1,0,0,5,0,0,0,2,1,0,0,6,0,0,0,3,1,0,0,7,0,0,0,255,255,255,255,0,0,0,0,32,21,0,0,5,0,0,0,1,0,16,0,8,0,0,0,1,0,0,0,248,5,0,0,1,0,0,0,9,0,0,0,1,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,45,23,0,0,49,23,0,0,54,23,0,0,60,23,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,140,7,0,0,5,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,3,0,0,0,88,36,0,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,176,246,255,255,255,255,255,255,255,255,255,223,241,252,255,255,255,255,255,255,255,255,249,253,253,255,255,255,255,255,255,255,255,255,244,252,255,255,255,255,255,255,255,255,234,254,254,255,255,255,255,255,255,255,255,253,255,255,255,255,255,255,255,255,255,255,255,246,254,255,255,255,255,255,255,255,255,239,253,254,255,255,255,255,255,255,255,255,254,255,254,255,255,255,255,255,255,255,255,255,248,254,255,255,255,255,255,255,255,255,251,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,254,255,255,255,255,255,255,255,255,251,254,254,255,255,255,255,255,255,255,255,254,255,254,255,255,255,255,255,255,255,255,255,254,253,255,254,255,255,255,255,255,255,250,255,254,255,254,255,255,255,255,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,217,255,255,255,255,255,255,255,255,255,255,225,252,241,253,255,255,254,255,255,255,255,234,250,241,250,253,255,253,254,255,255,255,255,254,255,255,255,255,255,255,255,255,255,223,254,254,255,255,255,255,255,255,255,255,238,253,254,254,255,255,255,255,255,255,255,255,248,254,255,255,255,255,255,255,255,255,249,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,255,255,255,255,255,255,255,255,255,247,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,254,255,255,255,255,255,255,255,255,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,255,255,255,255,255,255,255,255,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,253,255,255,255,255,255,255,255,255,250,255,255,255,255,255,255,255,255,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,186,251,250,255,255,255,255,255,255,255,255,234,251,244,254,255,255,255,255,255,255,255,251,251,243,253,254,255,254,255,255,255,255,255,253,254,255,255,255,255,255,255,255,255,236,253,254,255,255,255,255,255,255,255,255,251,253,253,254,254,255,255,255,255,255,255,255,254,254,255,255,255,255,255,255,255,255,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,255,255,255,255,255,255,255,254,254,255,255,255,255,255,255,255,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,248,255,255,255,255,255,255,255,255,255,255,250,254,252,254,255,255,255,255,255,255,255,248,254,249,253,255,255,255,255,255,255,255,255,253,253,255,255,255,255,255,255,255,255,246,253,253,255,255,255,255,255,255,255,255,252,254,251,254,254,255,255,255,255,255,255,255,254,252,255,255,255,255,255,255,255,255,248,254,253,255,255,255,255,255,255,255,255,253,255,254,254,255,255,255,255,255,255,255,255,251,254,255,255,255,255,255,255,255,255,245,251,254,255,255,255,255,255,255,255,255,253,253,254,255,255,255,255,255,255,255,255,255,251,253,255,255,255,255,255,255,255,255,252,253,254,255,255,255,255,255,255,255,255,255,254,255,255,255,255,255,255,255,255,255,255,252,255,255,255,255,255,255,255,255,255,249,255,254,255,255,255,255,255,255,255,255,255,255,254,255,255,255,255,255,255,255,255,255,255,253,255,255,255,255,255,255,255,255,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,253,136,254,255,228,219,128,128,128,128,128,189,129,242,255,227,213,255,219,128,128,128,106,126,227,252,214,209,255,255,128,128,128,1,98,248,255,236,226,255,255,128,128,128,181,133,238,254,221,234,255,154,128,128,128,78,134,202,247,198,180,255,219,128,128,128,1,185,249,255,243,255,128,128,128,128,128,184,150,247,255,236,224,128,128,128,128,128,77,110,216,255,236,230,128,128,128,128,128,1,101,251,255,241,255,128,128,128,128,128,170,139,241,252,236,209,255,255,128,128,128,37,116,196,243,228,255,255,255,128,128,128,1,204,254,255,245,255,128,128,128,128,128,207,160,250,255,238,128,128,128,128,128,128,102,103,231,255,211,171,128,128,128,128,128,1,152,252,255,240,255,128,128,128,128,128,177,135,243,255,234,225,128,128,128,128,128,80,129,211,255,194,224,128,128,128,128,128,1,1,255,128,128,128,128,128,128,128,128,246,1,255,128,128,128,128,128,128,128,128,255,128,128,128,128,128,128,128,128,128,128,198,35,237,223,193,187,162,160,145,155,62,131,45,198,221,172,176,220,157,252,221,1,68,47,146,208,149,167,221,162,255,223,128,1,149,241,255,221,224,255,255,128,128,128,184,141,234,253,222,220,255,199,128,128,128,81,99,181,242,176,190,249,202,255,255,128,1,129,232,253,214,197,242,196,255,255,128,99,121,210,250,201,198,255,202,128,128,128,23,91,163,242,170,187,247,210,255,255,128,1,200,246,255,234,255,128,128,128,128,128,109,178,241,255,231,245,255,255,128,128,128,44,130,201,253,205,192,255,255,128,128,128,1,132,239,251,219,209,255,165,128,128,128,94,136,225,251,218,190,255,255,128,128,128,22,100,174,245,186,161,255,199,128,128,128,1,182,249,255,232,235,128,128,128,128,128,124,143,241,255,227,234,128,128,128,128,128,35,77,181,251,193,211,255,205,128,128,128,1,157,247,255,236,231,255,255,128,128,128,121,141,235,255,225,227,255,255,128,128,128,45,99,188,251,195,217,255,224,128,128,128,1,1,251,255,213,255,128,128,128,128,128,203,1,248,255,255,128,128,128,128,128,128,137,1,177,255,224,255,128,128,128,128,128,253,9,248,251,207,208,255,192,128,128,128,175,13,224,243,193,185,249,198,255,255,128,73,17,171,221,161,179,236,167,255,234,128,1,95,247,253,212,183,255,255,128,128,128,239,90,244,250,211,209,255,255,128,128,128,155,77,195,248,188,195,255,255,128,128,128,1,24,239,251,218,219,255,205,128,128,128,201,51,219,255,196,186,128,128,128,128,128,69,46,190,239,201,218,255,228,128,128,128,1,191,251,255,255,128,128,128,128,128,128,223,165,249,255,213,255,128,128,128,128,128,141,124,248,255,255,128,128,128,128,128,128,1,16,248,255,255,128,128,128,128,128,128,190,36,230,255,236,255,128,128,128,128,128,149,1,255,128,128,128,128,128,128,128,128,1,226,255,128,128,128,128,128,128,128,128,247,192,255,128,128,128,128,128,128,128,128,240,128,255,128,128,128,128,128,128,128,128,1,134,252,255,255,128,128,128,128,128,128,213,62,250,255,255,128,128,128,128,128,128,55,93,255,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,202,24,213,235,186,191,220,160,240,175,255,126,38,182,232,169,184,228,174,255,187,128,61,46,138,219,151,178,240,170,255,216,128,1,112,230,250,199,191,247,159,255,255,128,166,109,228,252,211,215,255,174,128,128,128,39,77,162,232,172,180,245,178,255,255,128,1,52,220,246,198,199,249,220,255,255,128,124,74,191,243,183,193,250,221,255,255,128,24,71,130,219,154,170,243,182,255,255,128,1,182,225,249,219,240,255,224,128,128,128,149,150,226,252,216,205,255,171,128,128,128,28,108,170,242,183,194,254,223,255,255,128,1,81,230,252,204,203,255,192,128,128,128,123,102,209,247,188,196,255,233,128,128,128,20,95,153,243,164,173,255,203,128,128,128,1,222,248,255,216,213,128,128,128,128,128,168,175,246,252,235,205,255,255,128,128,128,47,116,215,255,211,212,255,255,128,128,128,1,121,236,253,212,214,255,255,128,128,128,141,84,213,252,201,202,255,219,128,128,128,42,80,160,240,162,185,255,205,128,128,128,1,1,255,128,128,128,128,128,128,128,128,244,1,255,128,128,128,128,128,128,128,128,238,1,255,128,128,128,128,128,128,128,128,145,156,163,128,162,101,204,142,114,183,120,90,79,133,87,85,80,111,151,231,120,48,89,115,113,120,152,112,152,179,64,126,170,118,46,70,95,175,69,143,80,85,82,72,155,103,56,58,10,171,218,189,17,13,152,144,71,10,38,171,213,144,34,26,114,26,17,163,44,195,21,10,173,121,24,80,195,26,62,44,64,85,170,46,55,19,136,160,33,206,71,63,20,8,114,114,208,12,9,226,81,40,11,96,182,84,29,16,36,134,183,89,137,98,101,106,165,148,72,187,100,130,157,111,32,75,80,66,102,167,99,74,62,40,234,128,41,53,9,178,241,141,26,8,107,104,79,12,27,217,255,87,17,7,74,43,26,146,73,166,49,23,157,65,38,105,160,51,52,31,115,128,87,68,71,44,114,51,15,186,23,47,41,14,110,182,183,21,17,194,66,45,25,102,197,189,23,18,22,88,88,147,150,42,46,45,196,205,43,97,183,117,85,38,35,179,61,39,53,200,87,26,21,43,232,171,56,34,51,104,114,102,29,93,77,107,54,32,26,51,1,81,43,31,39,28,85,171,58,165,90,98,64,34,22,116,206,23,34,43,166,73,68,25,106,22,64,171,36,225,114,34,19,21,102,132,188,16,76,124,62,18,78,95,85,57,50,48,51,193,101,35,159,215,111,89,46,111,60,148,31,172,219,228,21,18,111,112,113,77,85,179,255,38,120,114,40,42,1,196,245,209,10,25,109,100,80,8,43,154,1,51,26,71,88,43,29,140,166,213,37,43,154,61,63,30,155,67,45,68,1,209,142,78,78,16,255,128,34,197,171,41,40,5,102,211,183,4,1,221,51,50,17,168,209,192,23,25,82,125,98,42,88,104,85,117,175,82,95,84,53,89,128,100,113,101,45,75,79,123,47,51,128,81,171,1,57,17,5,71,102,57,53,41,49,115,21,2,10,102,255,166,23,6,38,33,13,121,57,73,26,1,85,41,10,67,138,77,110,90,47,114,101,29,16,10,85,128,101,196,26,57,18,10,102,102,213,34,20,43,117,20,15,36,163,128,68,1,26,138,31,36,171,27,166,38,44,229,67,87,58,169,82,115,26,59,179,63,59,90,180,59,166,93,73,154,40,40,21,116,143,209,34,39,175,57,46,22,24,128,1,54,17,37,47,15,16,183,34,223,49,45,183,46,17,33,183,6,98,15,32,183,65,32,73,115,28,128,23,128,205,40,3,9,115,51,192,18,6,223,87,37,9,115,59,77,64,21,47,104,55,44,218,9,54,53,130,226,64,90,70,205,40,41,23,26,57,54,57,112,184,5,41,38,166,213,30,34,26,133,152,116,10,32,134,75,32,12,51,192,255,160,43,51,39,19,53,221,26,114,32,73,255,31,9,65,234,2,15,1,118,73,88,31,35,67,102,85,55,186,85,56,21,23,111,59,205,45,37,192,55,38,70,124,73,102,1,34,98,102,61,71,37,34,53,31,243,192,69,60,71,38,73,119,28,222,37,68,45,128,34,1,47,11,245,171,62,17,19,70,146,85,55,62,70,75,15,9,9,64,255,184,119,16,37,43,37,154,100,163,85,160,1,63,9,92,136,28,64,32,201,85,86,6,28,5,64,255,25,248,1,56,8,17,132,137,255,55,116,128,58,15,20,82,135,57,26,121,40,164,50,31,137,154,133,25,35,218,51,103,44,131,131,123,31,6,158,86,40,64,135,148,224,45,183,128,22,26,17,131,240,154,14,1,209,83,12,13,54,192,255,68,47,28,45,16,21,91,64,222,7,1,197,56,21,39,155,60,138,23,102,213,85,26,85,85,128,128,32,146,171,18,11,7,63,144,171,4,4,246,35,27,10,146,174,171,12,26,128,190,80,35,99,180,80,126,54,45,85,126,47,87,176,51,41,20,32,101,75,128,139,118,146,116,128,85,56,41,15,176,236,85,37,9,62,146,36,19,30,171,255,97,27,20,71,30,17,119,118,255,17,18,138,101,38,60,138,55,70,43,26,142,138,45,61,62,219,1,81,188,64,32,41,20,117,151,142,20,21,163,112,19,12,61,195,128,48,4,24,0,2,255,4,254,6,8,12,253,10,251,250,252,14,249,16,248,247,0,2,4,6,255,254,253,252,252,2,4,6,0,255,254,253,0,2,255,4,254,253,2,8,4,6,0,255,254,253,10,12,252,251,250,249,180,162,25,237,246,253,253,254,254,254,254,254,254,254,254,254,254,250,250,252,254,254,231,243,245,253,254,254,254,254,254,254,254,254,254,254,251,251,254,254,254,162,128,225,146,172,147,214,39,156,128,129,132,75,145,178,206,239,254,254,164,128,204,170,119,235,140,230,228,128,130,130,74,148,180,203,236,254,254,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,8,10,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,87,101,98,77,32,80,114,111,106,101,99,116,32,86,80,56,32,68,101,99,111,100,101,114,32,118,49,46,54,46,49,45,49,45,103,51,48,49,99,48,54,101,57,101,0,73,110,118,97,108,105,100,32,102,114,97,109,101,32,119,105,100,116,104,0,73,110,118,97,108,105,100,32,102,114,97,109,101,32,104,101,105,103,104,116,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,102,114,97,109,101,32,98,117,102,102,101,114,115,0,147,136,18,223,1,34,106,145,1,208,1,1,179,121,1,223,1,34,179,121,1,208,1,1,8,8,4,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,4,5,8,9,12,13,2,3,6,7,10,11,14,15,0,1,4,5,2,3,6,7,8,9,12,13,10,11,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,84,114,117,110,99,97,116,101,100,32,112,97,99,107,101,116,0,84,114,117,110,99,97,116,101,100,32,112,97,99,107,101,116,32,111,114,32,99,111,114,114,117,112,116,32,112,97,114,116,105,116,105,111,110,32,48,32,108,101,110,103,116,104,0,73,110,118,97,108,105,100,32,102,114,97,109,101,32,115,121,110,99,32,99,111,100,101,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,98,111,111,108,32,100,101,99,111,100,101,114,32,48,0,84,114,117,110,99,97,116,101,100,32,112,97,114,116,105,116,105,111,110,32,115,105,122,101,32,100,97,116,97,0,84,114,117,110,99,97,116,101,100,32,112,97,99,107,101,116,32,111,114,32,99,111,114,114,117,112,116,32,112,97,114,116,105,116,105,111,110,32,37,100,32,108,101,110,103,116,104,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,98,111,111,108,32,100,101,99,111,100,101,114,32,37,100,0,65,32,115,116,114,101,97,109,32,109,117,115,116,32,115,116,97,114,116,32,119,105,116,104,32,97,32,99,111,109,112,108,101,116,101,32,107,101,121,32,102,114,97,109,101,0,0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0,0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15,173,148,140,0,176,155,140,135,0,180,157,141,134,130,0,254,254,243,230,196,177,153,140,133,130,129,0,73,110,118,97,108,105,100,32,114,101,102,101,114,101,110,99,101,32,102,114,97,109,101,0,73,110,99,111,114,114,101,99,116,32,98,117,102,102,101,114,32,100,105,109,101,110,115,105,111,110,115,0,86,80,88,32,112,114,111,99,101,115,115,95,104,101,97,100,101,114,32,115,104,111,117,108,100,32,110,111,116,32,104,97,112,112,101,110,63,0,103,111,116,32,109,117,108,116,105,112,108,101,32,102,114,97,109,101,115,32,102,114,111,109,32,86,80,57,32,115,116,114,101,97,109,32,117,110,101,120,112,101,99,116,101,100,108,121,63,0,83,107,105,112,112,105,110,103,32,102,114,97,109,101,32,119,105,116,104,32,117,110,107,110,111,119,110,32,112,105,99,116,117,114,101,32,116,121,112,101,32,37,100,10,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,110,97,110,0,78,65,78,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,46,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);var tempDoublePtr=STATICTOP;STATICTOP+=16;Module["_i64Subtract"]=_i64Subtract;Module["_i64Add"]=_i64Add;Module["_memset"]=_memset;Module["_bitshift64Lshr"]=_bitshift64Lshr;Module["_bitshift64Shl"]=_bitshift64Shl;function _abort(){Module["abort"]()}function _realloc(){throw"bad"}Module["_realloc"]=_realloc;Module["_saveSetjmp"]=_saveSetjmp;Module["_testSetjmp"]=_testSetjmp;function _longjmp(env,value){Module["setThrew"](env,value||1);throw"longjmp"}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}Module["_memcpy"]=_memcpy;var SYSCALLS={varargs:0,get:(function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret}),getStr:(function(){var ret=Pointer_stringify(SYSCALLS.get());return ret}),get64:(function(){var low=SYSCALLS.get(),high=SYSCALLS.get();if(low>=0)assert(high===0);else assert(high===-1);return low}),getZero:(function(){assert(SYSCALLS.get()===0)})};function ___syscall6(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_STATIC);Module["_llvm_cttz_i32"]=_llvm_cttz_i32;Module["___udivmoddi4"]=___udivmoddi4;Module["___udivdi3"]=___udivdi3;function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}Module["_sbrk"]=_sbrk;Module["___uremdi3"]=___uremdi3;Module["_llvm_bswap_i32"]=_llvm_bswap_i32;function _ogvjs_callback_frame(bufferY,strideY,bufferCb,strideCb,bufferCr,strideCr,width,height,chromaWidth,chromaHeight){var HEAPU8=Module.HEAPU8,format=Module.videoFormat,countBytesY=strideY*height,countBytesCb=strideCb*chromaHeight,countBytesCr=strideCr*chromaHeight;Module.frameBuffer={format:{width:width,height:height,chromaWidth:chromaWidth,chromaHeight:chromaHeight,cropLeft:format.cropLeft,cropTop:format.cropTop,cropWidth:format.cropWidth,cropHeight:format.cropHeight,displayWidth:format.displayWidth,displayHeight:format.displayHeight},y:{bytes:copyByteArray(HEAPU8.subarray(bufferY,bufferY+countBytesY)),stride:strideY},u:{bytes:copyByteArray(HEAPU8.subarray(bufferCb,bufferCb+countBytesCb)),stride:strideCb},v:{bytes:copyByteArray(HEAPU8.subarray(bufferCr,bufferCr+countBytesCr)),stride:strideCr}}}function ___syscall140(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),offset_high=SYSCALLS.get(),offset_low=SYSCALLS.get(),result=SYSCALLS.get(),whence=SYSCALLS.get();var offset=offset_low;assert(offset_high===0);FS.llseek(stream,offset,whence);HEAP32[result>>2]=stream.position;if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall146(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.get(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();var ret=0;if(!___syscall146.buffer){___syscall146.buffers=[null,[],[]];___syscall146.printChar=(function(stream,curr){var buffer=___syscall146.buffers[stream];assert(buffer);if(curr===0||curr===10){(stream===1?Module["print"]:Module["printErr"])(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}})}for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>2];var len=HEAP32[iov+(i*8+4)>>2];for(var j=0;j<len;j++){___syscall146.printChar(stream,HEAPU8[ptr+j])}ret+=len}return ret}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}__ATEXIT__.push((function(){var fflush=Module["_fflush"];if(fflush)fflush(0);var printChar=___syscall146.printChar;if(!printChar)return;var buffers=___syscall146.buffers;if(buffers[1].length)printChar(1,10);if(buffers[2].length)printChar(2,10)}));DYNAMICTOP_PTR=allocate(1,"i32",ALLOC_STATIC);STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP);STACK_MAX=STACK_BASE+TOTAL_STACK;DYNAMIC_BASE=Runtime.alignMemory(STACK_MAX);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;staticSealed=true;function invoke_iiii(index,a1,a2,a3){try{return Module["dynCall_iiii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vi(index,a1){try{Module["dynCall_vi"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vii(index,a1,a2){try{Module["dynCall_vii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_ii(index,a1){try{return Module["dynCall_ii"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_v(index){try{Module["dynCall_v"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_viiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iii(index,a1,a2){try{return Module["dynCall_iii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiii(index,a1,a2,a3,a4){try{Module["dynCall_viiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}Module.asmGlobalArg={"Math":Math,"Int8Array":Int8Array,"Int16Array":Int16Array,"Int32Array":Int32Array,"Uint8Array":Uint8Array,"Uint16Array":Uint16Array,"Uint32Array":Uint32Array,"Float32Array":Float32Array,"Float64Array":Float64Array,"NaN":NaN,"Infinity":Infinity};Module.asmLibraryArg={"abort":abort,"assert":assert,"enlargeMemory":enlargeMemory,"getTotalMemory":getTotalMemory,"abortOnCannotGrowMemory":abortOnCannotGrowMemory,"invoke_iiii":invoke_iiii,"invoke_vi":invoke_vi,"invoke_vii":invoke_vii,"invoke_ii":invoke_ii,"invoke_v":invoke_v,"invoke_viiiiii":invoke_viiiiii,"invoke_iii":invoke_iii,"invoke_iiiiii":invoke_iiiiii,"invoke_viiii":invoke_viiii,"_ogvjs_callback_frame":_ogvjs_callback_frame,"_longjmp":_longjmp,"___syscall6":___syscall6,"___setErrNo":___setErrNo,"_abort":_abort,"_emscripten_memcpy_big":_emscripten_memcpy_big,"___syscall54":___syscall54,"___syscall140":___syscall140,"___syscall146":___syscall146,"DYNAMICTOP_PTR":DYNAMICTOP_PTR,"tempDoublePtr":tempDoublePtr,"ABORT":ABORT,"STACKTOP":STACKTOP,"STACK_MAX":STACK_MAX,"cttz_i8":cttz_i8};// EMSCRIPTEN_START_ASM
var asm=(function(global,env,buffer) {
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.DYNAMICTOP_PTR|0;var j=env.tempDoublePtr|0;var k=env.ABORT|0;var l=env.STACKTOP|0;var m=env.STACK_MAX|0;var n=env.cttz_i8|0;var o=0;var p=0;var q=0;var r=0;var s=global.NaN,t=global.Infinity;var u=0,v=0,w=0,x=0,y=0.0,z=0,A=0,B=0,C=0.0;var D=0;var E=global.Math.floor;var F=global.Math.abs;var G=global.Math.sqrt;var H=global.Math.pow;var I=global.Math.cos;var J=global.Math.sin;var K=global.Math.tan;var L=global.Math.acos;var M=global.Math.asin;var N=global.Math.atan;var O=global.Math.atan2;var P=global.Math.exp;var Q=global.Math.log;var R=global.Math.ceil;var S=global.Math.imul;var T=global.Math.min;var U=global.Math.max;var V=global.Math.clz32;var W=env.abort;var X=env.assert;var Y=env.enlargeMemory;var Z=env.getTotalMemory;var _=env.abortOnCannotGrowMemory;var $=env.invoke_iiii;var aa=env.invoke_vi;var ba=env.invoke_vii;var ca=env.invoke_ii;var da=env.invoke_v;var ea=env.invoke_viiiiii;var fa=env.invoke_iii;var ga=env.invoke_iiiiii;var ha=env.invoke_viiii;var ia=env._ogvjs_callback_frame;var ja=env._longjmp;var ka=env.___syscall6;var la=env.___setErrNo;var ma=env._abort;var na=env._emscripten_memcpy_big;var oa=env.___syscall54;var pa=env.___syscall140;var qa=env.___syscall146;var ra=0.0;
// EMSCRIPTEN_START_FUNCS
function Ba(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function Ca(){return l|0}function Da(a){a=a|0;l=a}function Ea(a,b){a=a|0;b=b|0;l=a;m=b}function Fa(a,b){a=a|0;b=b|0;if(!o){o=a;p=b}}function Ga(a){a=a|0;D=a}function Ha(){return D|0}function Ia(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;if((f|0)==10)if((a|0)!=0&(b|0)!=0)if((c[b+4>>2]|0)==5){f=c[b+8>>2]|0;if((!((e&65536|0)!=0&(f&262144|0)==0)?!((e&131072|0)!=0&(f&524288|0)==0):0)?!((f&1|0)==0|(e&262144|0)!=0&(f&1048576|0)==0):0){f=a+8|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[a+4>>2]=b;c[a>>2]=c[b>>2];f=a+24|0;c[f>>2]=0;c[a+16>>2]=e;c[a+20>>2]=d;d=ya[c[b+12>>2]&15](a,0)|0;if(!d)g=0;else{b=c[f>>2]|0;if(!b)h=0;else h=c[b>>2]|0;c[a+12>>2]=h;La(a)|0;g=d}}else g=4}else g=3;else{i=8;j=11}else{i=3;j=11}if((j|0)==11)if(!a){k=i;return k|0}else g=i;c[a+8>>2]=g;k=g;return k|0}function Ja(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;if(!a){g=8;return g|0}if((b|0)==0^(d|0)!=0){h=c[a+4>>2]|0;if((h|0)!=0?(i=c[a+24>>2]|0,(i|0)!=0):0)j=za[c[h+32>>2]&3](i,b,d,e,f)|0;else j=1}else j=8;c[a+8>>2]=j;g=j;return g|0}function Ka(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((a|0)!=0&(b|0)!=0)){d=0;return d|0}e=c[a+4>>2]|0;if(!e){d=0;return d|0}f=c[a+24>>2]|0;if(!f){d=0;return d|0}d=ya[c[e+36>>2]&15](f,b)|0;return d|0}function La(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;if(!a){b=8;return b|0}d=a+4|0;e=c[d>>2]|0;if((e|0)!=0?(f=a+24|0,g=c[f>>2]|0,(g|0)!=0):0){va[c[e+16>>2]&3](g)|0;c[d>>2]=0;c[a>>2]=0;c[f>>2]=0;h=0}else h=1;c[a+8>>2]=h;b=h;return b|0}function Ma(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=l;l=l+16|0;h=g;c[b>>2]=d;d=b+4|0;c[d>>2]=0;if(e|0){c[d>>2]=1;c[h>>2]=f;td(b+8|0,79,e,h)|0;a[b+87>>0]=0}if(!(c[b+88>>2]|0)){l=g;return}else ja(b+92|0,c[b>>2]|0)}function Na(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=ie(a|0,0,3,0)|0;e=ie(d|0,D|0,b|0,0)|0;b=D;if(!((b>>>0<0|(b|0)==0&e>>>0<2147418113)&((e|0)==(e|0)&(b|0)==0))){f=0;return f|0}b=be(e)|0;e=a+-1+(b+4)&0-a;if(!b){f=0;return f|0}c[e+-4>>2]=b;f=e;return f|0}function Oa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if(a|0?(d=S(b,a)|0,e=(a|0)==0,f=re(2147418112,0,a|0,0)|0,g=D,(e?0:((d>>>0)/((e?1:a)>>>0)|0|0)!=(b|0))|(g>>>0<0|(g|0)==0&f>>>0<b>>>0)):0){h=0;return h|0}f=S(b,a)|0;a=ie(f|0,0,11,0)|0;b=D;if(!((b>>>0<0|(b|0)==0&a>>>0<2147418113)&((a|0)==(a|0)&(b|0)==0))){h=0;return h|0}b=be(a)|0;a=b+4+7&-8;g=a;if(!b){h=0;return h|0}c[g+-4>>2]=b;if(!a){h=0;return h|0}je(g|0,0,f|0)|0;h=g;return h|0}function Pa(a){a=a|0;if(!a)return;ce(c[a+-4>>2]|0);return}function Qa(a){a=a|0;var b=0,d=0;if(!a){b=-1;return b|0}if((c[a+72>>2]|0)>0)Pa(c[a+68>>2]|0);d=a;a=d+120|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(a|0));b=0;return b|0}function Ra(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(!a){f=-2;return f|0}g=b+15&-16;h=d+15&-16;i=e<<1;j=g+31+i&-32;k=S(j,h+i|0)|0;i=g>>1;l=h>>1;m=j>>1;n=S(m,l+e|0)|0;o=(n<<1)+k|0;p=a+68|0;q=c[p>>2]|0;if(!q){r=Na(32,o)|0;c[p>>2]=r;c[a+72>>2]=o;if(!r){f=-1;return f|0}else s=r}else if((c[a+72>>2]|0)<(o|0)){f=-1;return f|0}else s=q;if(e&31|0){f=-3;return f|0}c[a+8>>2]=b;c[a+12>>2]=d;c[a>>2]=g;c[a+4>>2]=h;c[a+16>>2]=j;c[a+28>>2]=(b+1|0)/2|0;c[a+32>>2]=(d+1|0)/2|0;c[a+20>>2]=i;c[a+24>>2]=l;c[a+36>>2]=m;c[a+40>>2]=0;c[a+44>>2]=0;c[a+48>>2]=0;c[a+76>>2]=e;c[a+80>>2]=o;c[a+52>>2]=s+(S(j,e)|0)+e;j=s+k|0;k=(e|0)/2|0;e=S(m,k)|0;c[a+56>>2]=j+e+k;c[a+60>>2]=j+n+e+k;c[a+64>>2]=0;c[a+112>>2]=0;f=0;return f|0}function Sa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(!a){f=-2;return f|0}if((c[a+72>>2]|0)>0)Pa(c[a+68>>2]|0);g=a;h=g+120|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));f=Ra(a,b,d,e)|0;return f|0}function Ta(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;d=c[b+76>>2]|0;e=(d|0)/2|0;f=c[b+52>>2]|0;g=c[b+16>>2]|0;h=c[b+8>>2]|0;i=c[b+12>>2]|0;j=d-i+(c[b+4>>2]|0)|0;k=(c[b>>2]|0)+d|0;l=k-h|0;m=k+d|0;k=f+h|0;h=0-d|0;n=f+h|0;if((i|0)>0){o=n;p=k;q=0;r=f;s=k+-1|0;while(1){je(o|0,a[r>>0]|0,d|0)|0;je(p|0,a[s>>0]|0,l|0)|0;q=q+1|0;if((q|0)==(i|0))break;else{o=o+g|0;p=p+g|0;r=r+g|0;s=s+g|0}}}s=f+(S(i+-1|0,g)|0)+h|0;r=f+(S(i,g)|0)+h|0;if((d|0)>0){i=f+(S(g,h)|0)+h|0;h=0;while(1){oe(i|0,n|0,m|0)|0;h=h+1|0;if((h|0)==(d|0))break;else i=i+g|0}}if((j|0)>0){i=r;r=0;while(1){oe(i|0,s|0,m|0)|0;r=r+1|0;if((r|0)==(j|0))break;else i=i+g|0}}g=c[b+56>>2]|0;i=b+36|0;j=c[i>>2]|0;r=b+28|0;m=c[r>>2]|0;s=b+32|0;h=c[s>>2]|0;n=b+24|0;f=e-h+(c[n>>2]|0)|0;p=b+20|0;o=(c[p>>2]|0)+e|0;q=o-m|0;l=o+e|0;o=g+m|0;m=0-e|0;k=g+m|0;if((h|0)>0){t=k;u=o;v=0;w=g;x=o+-1|0;while(1){je(t|0,a[w>>0]|0,e|0)|0;je(u|0,a[x>>0]|0,q|0)|0;v=v+1|0;if((v|0)==(h|0))break;else{t=t+j|0;u=u+j|0;w=w+j|0;x=x+j|0}}}x=g+(S(h+-1|0,j)|0)+m|0;w=g+(S(h,j)|0)+m|0;h=(d|0)>1;if(h){d=g+(S(j,m)|0)+m|0;g=0;while(1){oe(d|0,k|0,l|0)|0;g=g+1|0;if((g|0)==(e|0))break;else d=d+j|0}}if((f|0)>0){d=w;w=0;while(1){oe(d|0,x|0,l|0)|0;w=w+1|0;if((w|0)==(f|0))break;else d=d+j|0}}j=c[b+60>>2]|0;b=c[i>>2]|0;i=c[r>>2]|0;r=c[s>>2]|0;s=e-r+(c[n>>2]|0)|0;n=(c[p>>2]|0)+e|0;p=n-i|0;d=n+e|0;n=j+i|0;i=j+m|0;if((r|0)>0){f=i;w=n;l=0;x=j;g=n+-1|0;while(1){je(f|0,a[x>>0]|0,e|0)|0;je(w|0,a[g>>0]|0,p|0)|0;l=l+1|0;if((l|0)==(r|0))break;else{f=f+b|0;w=w+b|0;x=x+b|0;g=g+b|0}}}g=j+(S(r+-1|0,b)|0)+m|0;x=j+(S(r,b)|0)+m|0;if(h){h=j+(S(b,m)|0)+m|0;m=0;while(1){oe(h|0,i|0,d|0)|0;m=m+1|0;if((m|0)==(e|0))break;else h=h+b|0}}if((s|0)>0){y=x;z=0}else return;while(1){oe(y|0,g|0,d|0)|0;z=z+1|0;if((z|0)==(s|0))break;else y=y+b|0}return}function Ua(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=a+4|0;if((c[d>>2]|0)>0){e=a+16|0;f=b+16|0;g=c[b+52>>2]|0;h=0;i=c[a+52>>2]|0;while(1){oe(g|0,i|0,c[a>>2]|0)|0;h=h+1|0;if((h|0)>=(c[d>>2]|0))break;else{g=g+(c[f>>2]|0)|0;i=i+(c[e>>2]|0)|0}}}e=a+24|0;if((c[e>>2]|0)<=0){Ta(b);return}i=a+20|0;f=a+36|0;g=b+36|0;d=c[b+56>>2]|0;h=0;j=c[a+56>>2]|0;while(1){oe(d|0,j|0,c[i>>2]|0)|0;h=h+1|0;k=c[e>>2]|0;if((h|0)>=(k|0))break;else{d=d+(c[g>>2]|0)|0;j=j+(c[f>>2]|0)|0}}if((k|0)<=0){Ta(b);return}k=a+20|0;f=a+36|0;j=b+36|0;g=c[b+60>>2]|0;d=0;h=c[a+60>>2]|0;while(1){oe(g|0,h|0,c[k>>2]|0)|0;d=d+1|0;if((d|0)>=(c[e>>2]|0))break;else{g=g+(c[j>>2]|0)|0;h=h+(c[f>>2]|0)|0}}Ta(b);return}function Va(){if(c[2144]|0)return;c[2144]=1;return}function Wa(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=d[e>>0]|0;g=d[e+1>>0]|0;h=d[e+2>>0]|0;i=d[e+3>>0]|0;je(a|0,((d[c+-1>>0]|0)+2+(f<<1)+g|0)>>>2&255|0,4)|0;je(a+b|0,(f+2+(g<<1)+h|0)>>>2&255|0,4)|0;je(a+(b<<1)|0,(g+2+(h<<1)+i|0)>>>2&255|0,4)|0;je(a+(b*3|0)|0,(h+2+i+(i<<1)|0)>>>2&255|0,4)|0;return}function Xa(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;f=d[e>>0]|0;g=d[e+1>>0]|0;h=d[e+2>>0]|0;i=d[e+3>>0]|0;j=d[e+4>>0]|0;a[b>>0]=((d[e+-1>>0]|0)+2+(f<<1)+g|0)>>>2;a[b+1>>0]=(f+2+(g<<1)+h|0)>>>2;a[b+2>>0]=(g+2+(h<<1)+i|0)>>>2;a[b+3>>0]=(h+2+(i<<1)+j|0)>>>2;j=b+c|0;i=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24;a[j>>0]=i;a[j+1>>0]=i>>8;a[j+2>>0]=i>>16;a[j+3>>0]=i>>24;i=b+(c<<1)|0;j=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24;a[i>>0]=j;a[i+1>>0]=j>>8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0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));e=b+c|0;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));return}function eb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;je(b|0,a[e>>0]|0,8)|0;d=b+c|0;je(d|0,a[e+1>>0]|0,8)|0;b=d+c|0;je(b|0,a[e+2>>0]|0,8)|0;d=b+c|0;je(d|0,a[e+3>>0]|0,8)|0;b=d+c|0;je(b|0,a[e+4>>0]|0,8)|0;d=b+c|0;je(d|0,a[e+5>>0]|0,8)|0;b=d+c|0;je(b|0,a[e+6>>0]|0,8)|0;je(b+c|0,a[e+7>>0]|0,8)|0;return}function fb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;je(b|0,a[e>>0]|0,16)|0;d=b+c|0;je(d|0,a[e+1>>0]|0,16)|0;b=d+c|0;je(b|0,a[e+2>>0]|0,16)|0;d=b+c|0;je(d|0,a[e+3>>0]|0,16)|0;b=d+c|0;je(b|0,a[e+4>>0]|0,16)|0;d=b+c|0;je(d|0,a[e+5>>0]|0,16)|0;b=d+c|0;je(b|0,a[e+6>>0]|0,16)|0;d=b+c|0;je(d|0,a[e+7>>0]|0,16)|0;b=d+c|0;je(b|0,a[e+8>>0]|0,16)|0;d=b+c|0;je(d|0,a[e+9>>0]|0,16)|0;b=d+c|0;je(b|0,a[e+10>>0]|0,16)|0;d=b+c|0;je(d|0,a[e+11>>0]|0,16)|0;b=d+c|0;je(b|0,a[e+12>>0]|0,16)|0;d=b+c|0;je(d|0,a[e+13>>0]|0,16)|0;b=d+c|0;je(b|0,a[e+14>>0]|0,16)|0;je(b+c|0,a[e+15>>0]|0,16)|0;return}function gb(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=d[e+-1>>0]|0;h=e+1|0;i=e+2|0;j=e+3|0;k=b;b=0;while(1){l=f+b|0;m=(d[l>>0]|0)-g+(d[e>>0]|0)|0;a[k>>0]=(m|0)>255?-1:((m|0)>0?m:0)&255;m=(d[l>>0]|0)-g+(d[h>>0]|0)|0;a[k+1>>0]=(m|0)>255?-1:((m|0)>0?m:0)&255;m=(d[l>>0]|0)-g+(d[i>>0]|0)|0;a[k+2>>0]=(m|0)>255?-1:((m|0)>0?m:0)&255;m=(d[l>>0]|0)-g+(d[j>>0]|0)|0;a[k+3>>0]=(m|0)>255?-1:((m|0)>0?m:0)&255;b=b+1|0;if((b|0)==4)break;else k=k+c|0}return}function hb(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=d[e+-1>>0]|0;h=e+1|0;i=e+2|0;j=e+3|0;k=e+4|0;l=e+5|0;m=e+6|0;n=e+7|0;o=b;b=0;while(1){p=f+b|0;q=(d[p>>0]|0)-g+(d[e>>0]|0)|0;a[o>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[h>>0]|0)|0;a[o+1>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[i>>0]|0)|0;a[o+2>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[j>>0]|0)|0;a[o+3>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[k>>0]|0)|0;a[o+4>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[l>>0]|0)|0;a[o+5>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[m>>0]|0)|0;a[o+6>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[n>>0]|0)|0;a[o+7>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;b=b+1|0;if((b|0)==8)break;else o=o+c|0}return}function ib(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=d[e+-1>>0]|0;h=b;b=0;while(1){i=f+b|0;j=0;do{k=(d[i>>0]|0)-g+(d[e+j>>0]|0)|0;a[h+j>>0]=(k|0)>255?-1:((k|0)>0?k:0)&255;j=j+1|0}while((j|0)!=16);b=b+1|0;if((b|0)==16)break;else h=h+c|0}return}function jb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;e=b;d=e;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=e+4|0;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=b+c|0;b=d;e=b;a[e>>0]=-2139062144;a[e+1>>0]=-2139062144>>8;a[e+2>>0]=-2139062144>>16;a[e+3>>0]=-2139062144>>24;e=b+4|0;a[e>>0]=-2139062144;a[e+1>>0]=-2139062144>>8;a[e+2>>0]=-2139062144>>16;a[e+3>>0]=-2139062144>>24;e=d+c|0;d=e;b=d;a[b>>0]=-2139062144;a[b+1>>0]=-2139062144>>8;a[b+2>>0]=-2139062144>>16;a[b+3>>0]=-2139062144>>24;b=d+4|0;a[b>>0]=-2139062144;a[b+1>>0]=-2139062144>>8;a[b+2>>0]=-2139062144>>16;a[b+3>>0]=-2139062144>>24;b=e+c|0;e=b;d=e;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=e+4|0;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=b+c|0;b=d;e=b;a[e>>0]=-2139062144;a[e+1>>0]=-2139062144>>8;a[e+2>>0]=-2139062144>>16;a[e+3>>0]=-2139062144>>24;e=b+4|0;a[e>>0]=-2139062144;a[e+1>>0]=-2139062144>>8;a[e+2>>0]=-2139062144>>16;a[e+3>>0]=-2139062144>>24;e=d+c|0;d=e;b=d;a[b>>0]=-2139062144;a[b+1>>0]=-2139062144>>8;a[b+2>>0]=-2139062144>>16;a[b+3>>0]=-2139062144>>24;b=d+4|0;a[b>>0]=-2139062144;a[b+1>>0]=-2139062144>>8;a[b+2>>0]=-2139062144>>16;a[b+3>>0]=-2139062144>>24;b=e+c|0;e=b;d=e;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=e+4|0;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=b+c|0;c=d;a[c>>0]=-2139062144;a[c+1>>0]=-2139062144>>8;a[c+2>>0]=-2139062144>>16;a[c+3>>0]=-2139062144>>24;c=d+4|0;a[c>>0]=-2139062144;a[c+1>>0]=-2139062144>>8;a[c+2>>0]=-2139062144>>16;a[c+3>>0]=-2139062144>>24;return}function kb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));e=b+c|0;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));return}function lb(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;c=(((d[e+7>>0]|0)+((d[e+6>>0]|0)+((d[e+5>>0]|0)+((d[e+4>>0]|0)+((d[e+3>>0]|0)+((d[e+2>>0]|0)+((d[e+1>>0]|0)+(d[e>>0]|0)))))))+4|0)/8|0)&255;je(a|0,c|0,8)|0;e=a+b|0;je(e|0,c|0,8)|0;a=e+b|0;je(a|0,c|0,8)|0;e=a+b|0;je(e|0,c|0,8)|0;a=e+b|0;je(a|0,c|0,8)|0;e=a+b|0;je(e|0,c|0,8)|0;a=e+b|0;je(a|0,c|0,8)|0;je(a+b|0,c|0,8)|0;return}function mb(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;c=(((d[e+15>>0]|0)+((d[e+14>>0]|0)+((d[e+13>>0]|0)+((d[e+12>>0]|0)+((d[e+11>>0]|0)+((d[e+10>>0]|0)+((d[e+9>>0]|0)+((d[e+8>>0]|0)+((d[e+7>>0]|0)+((d[e+6>>0]|0)+((d[e+5>>0]|0)+((d[e+4>>0]|0)+((d[e+3>>0]|0)+((d[e+2>>0]|0)+((d[e+1>>0]|0)+(d[e>>0]|0)))))))))))))))+8|0)/16|0)&255;je(a|0,c|0,16)|0;e=a+b|0;je(e|0,c|0,16)|0;a=e+b|0;je(a|0,c|0,16)|0;e=a+b|0;je(e|0,c|0,16)|0;a=e+b|0;je(a|0,c|0,16)|0;e=a+b|0;je(e|0,c|0,16)|0;a=e+b|0;je(a|0,c|0,16)|0;e=a+b|0;je(e|0,c|0,16)|0;a=e+b|0;je(a|0,c|0,16)|0;e=a+b|0;je(e|0,c|0,16)|0;a=e+b|0;je(a|0,c|0,16)|0;e=a+b|0;je(e|0,c|0,16)|0;a=e+b|0;je(a|0,c|0,16)|0;e=a+b|0;je(e|0,c|0,16)|0;a=e+b|0;je(a|0,c|0,16)|0;je(a+b|0,c|0,16)|0;return}function nb(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;e=(((d[c+7>>0]|0)+((d[c+6>>0]|0)+((d[c+5>>0]|0)+((d[c+4>>0]|0)+((d[c+3>>0]|0)+((d[c+2>>0]|0)+((d[c+1>>0]|0)+(d[c>>0]|0)))))))+4|0)/8|0)&255;je(a|0,e|0,8)|0;c=a+b|0;je(c|0,e|0,8)|0;a=c+b|0;je(a|0,e|0,8)|0;c=a+b|0;je(c|0,e|0,8)|0;a=c+b|0;je(a|0,e|0,8)|0;c=a+b|0;je(c|0,e|0,8)|0;a=c+b|0;je(a|0,e|0,8)|0;je(a+b|0,e|0,8)|0;return}function ob(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;e=(((d[c+15>>0]|0)+((d[c+14>>0]|0)+((d[c+13>>0]|0)+((d[c+12>>0]|0)+((d[c+11>>0]|0)+((d[c+10>>0]|0)+((d[c+9>>0]|0)+((d[c+8>>0]|0)+((d[c+7>>0]|0)+((d[c+6>>0]|0)+((d[c+5>>0]|0)+((d[c+4>>0]|0)+((d[c+3>>0]|0)+((d[c+2>>0]|0)+((d[c+1>>0]|0)+(d[c>>0]|0)))))))))))))))+8|0)/16|0)&255;je(a|0,e|0,16)|0;c=a+b|0;je(c|0,e|0,16)|0;a=c+b|0;je(a|0,e|0,16)|0;c=a+b|0;je(c|0,e|0,16)|0;a=c+b|0;je(a|0,e|0,16)|0;c=a+b|0;je(c|0,e|0,16)|0;a=c+b|0;je(a|0,e|0,16)|0;c=a+b|0;je(c|0,e|0,16)|0;a=c+b|0;je(a|0,e|0,16)|0;c=a+b|0;je(c|0,e|0,16)|0;a=c+b|0;je(a|0,e|0,16)|0;c=a+b|0;je(c|0,e|0,16)|0;a=c+b|0;je(a|0,e|0,16)|0;c=a+b|0;je(c|0,e|0,16)|0;a=c+b|0;je(a|0,e|0,16)|0;je(a+b|0,e|0,16)|0;return}function pb(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var f=0;f=(((d[c+3>>0]|0)+((d[c+2>>0]|0)+((d[c+1>>0]|0)+((d[c>>0]|0)+(d[e>>0]|0))+(d[e+1>>0]|0))+(d[e+2>>0]|0))+(d[e+3>>0]|0)+4|0)/8|0)&255;je(a|0,f|0,4)|0;e=a+b|0;je(e|0,f|0,4)|0;a=e+b|0;je(a|0,f|0,4)|0;je(a+b|0,f|0,4)|0;return}function qb(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var f=0;f=(((d[c+7>>0]|0)+((d[c+6>>0]|0)+((d[c+5>>0]|0)+((d[c+4>>0]|0)+((d[c+3>>0]|0)+((d[c+2>>0]|0)+((d[c+1>>0]|0)+((d[c>>0]|0)+(d[e>>0]|0))+(d[e+1>>0]|0))+(d[e+2>>0]|0))+(d[e+3>>0]|0))+(d[e+4>>0]|0))+(d[e+5>>0]|0))+(d[e+6>>0]|0))+(d[e+7>>0]|0)+8|0)/16|0)&255;je(a|0,f|0,8)|0;e=a+b|0;je(e|0,f|0,8)|0;a=e+b|0;je(a|0,f|0,8)|0;e=a+b|0;je(e|0,f|0,8)|0;a=e+b|0;je(a|0,f|0,8)|0;e=a+b|0;je(e|0,f|0,8)|0;a=e+b|0;je(a|0,f|0,8)|0;je(a+b|0,f|0,8)|0;return}function rb(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;var f=0;f=(((d[c+15>>0]|0)+((d[c+14>>0]|0)+((d[c+13>>0]|0)+((d[c+12>>0]|0)+((d[c+11>>0]|0)+((d[c+10>>0]|0)+((d[c+9>>0]|0)+((d[c+8>>0]|0)+((d[c+7>>0]|0)+((d[c+6>>0]|0)+((d[c+5>>0]|0)+((d[c+4>>0]|0)+((d[c+3>>0]|0)+((d[c+2>>0]|0)+((d[c+1>>0]|0)+((d[c>>0]|0)+(d[e>>0]|0))+(d[e+1>>0]|0))+(d[e+2>>0]|0))+(d[e+3>>0]|0))+(d[e+4>>0]|0))+(d[e+5>>0]|0))+(d[e+6>>0]|0))+(d[e+7>>0]|0))+(d[e+8>>0]|0))+(d[e+9>>0]|0))+(d[e+10>>0]|0))+(d[e+11>>0]|0))+(d[e+12>>0]|0))+(d[e+13>>0]|0))+(d[e+14>>0]|0))+(d[e+15>>0]|0)+16|0)/32|0)&255;je(a|0,f|0,16)|0;e=a+b|0;je(e|0,f|0,16)|0;a=e+b|0;je(a|0,f|0,16)|0;e=a+b|0;je(e|0,f|0,16)|0;a=e+b|0;je(a|0,f|0,16)|0;e=a+b|0;je(e|0,f|0,16)|0;a=e+b|0;je(a|0,f|0,16)|0;e=a+b|0;je(e|0,f|0,16)|0;a=e+b|0;je(a|0,f|0,16)|0;e=a+b|0;je(e|0,f|0,16)|0;a=e+b|0;je(a|0,f|0,16)|0;e=a+b|0;je(e|0,f|0,16)|0;a=e+b|0;je(a|0,f|0,16)|0;e=a+b|0;je(e|0,f|0,16)|0;a=e+b|0;je(a|0,f|0,16)|0;je(a+b|0,f|0,16)|0;return}function sb(){if(c[2145]|0)return;c[2145]=1;return}function tb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=a+1816|0;Qa(e)|0;f=a+1936|0;Qa(f)|0;g=a+2056|0;Qa(g)|0;h=a+2176|0;Qa(h)|0;i=a+2328|0;Qa(i)|0;j=a+5940|0;Pa(c[j>>2]|0);k=a+2520|0;Pa(c[k>>2]|0);c[j>>2]=0;c[k>>2]=0;l=b&15;m=((l|0)==0?0:16-l|0)+b|0;b=d&15;l=((b|0)==0?0:16-b|0)+d|0;d=a+2296|0;c[d>>2]=0;c[a+1932>>2]=0;if(((((((Sa(e,m,l,32)|0)>=0?(b=a+2300|0,c[b>>2]=0,c[a+2052>>2]=0,(Sa(f,m,l,32)|0)>=0):0)?(n=a+2304|0,c[n>>2]=0,c[a+2172>>2]=0,(Sa(g,m,l,32)|0)>=0):0)?(o=a+2308|0,c[o>>2]=0,c[a+2292>>2]=0,(Sa(h,m,l,32)|0)>=0):0)?(c[a+2312>>2]=0,c[a+2316>>2]=1,c[a+2320>>2]=2,c[a+2324>>2]=3,c[d>>2]=1,c[b>>2]=1,c[n>>2]=1,c[o>>2]=1,(Sa(i,m,16,32)|0)>=0):0)?(o=l>>4,c[a+2468>>2]=o,l=m>>4,m=a+2472|0,c[m>>2]=l,c[a+2464>>2]=S(o,l)|0,n=l+1|0,l=a+2476|0,c[l>>2]=n,b=Oa(S(o+1|0,n)|0,76)|0,c[k>>2]=b,b|0):0)?(c[a+2524>>2]=b+((c[l>>2]|0)*76|0)+76,l=Oa((c[m>>2]|0)*9|0,1)|0,c[j>>2]=l,l|0):0){p=0;return p|0}Qa(e)|0;Qa(f)|0;Qa(g)|0;Qa(h)|0;Qa(i)|0;Pa(c[j>>2]|0);Pa(c[k>>2]|0);c[j>>2]=0;c[k>>2]=0;p=1;return p|0}function ub(a){a=a|0;var b=0,d=0,e=0,f=0;switch(c[a+8184>>2]|0){case 0:{b=0;d=0;e=0;f=0;break}case 1:{b=0;d=1;e=1;f=0;break}case 2:{b=0;d=1;e=0;f=1;break}case 3:{b=1;d=1;e=1;f=1;break}default:{b=0;d=0;e=0;f=0}}c[a+2484>>2]=f;c[a+2532>>2]=e;c[a+2488>>2]=d;c[a+2492>>2]=b;return}function vb(a){a=a|0;var b=0;Ab(a);Bb(a+7066|0);c[a+2480>>2]=1;c[a+2484>>2]=0;c[a+2532>>2]=0;c[a+2488>>2]=0;c[a+2492>>2]=0;c[a+8188>>2]=0;c[a+1808>>2]=0;b=a+5924|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[a+5912>>2]=0;c[a+5916>>2]=0;return}function wb(a){a=a|0;var b=0,d=0;Qa(a+1816|0)|0;Qa(a+1936|0)|0;Qa(a+2056|0)|0;Qa(a+2176|0)|0;Qa(a+2328|0)|0;b=a+5940|0;Pa(c[b>>2]|0);d=a+2520|0;Pa(c[d>>2]|0);c[b>>2]=0;c[d>>2]=0;return}function xb(a,d){a=a|0;d=d|0;var e=0,f=0;e=c[a+4>>2]|0;f=c[a>>2]|0;a=0;do{b[e+(a<<1)>>1]=S(b[d+(a<<1)>>1]|0,b[f+(a<<1)>>1]|0)|0;a=a+1|0}while((a|0)!=16);return}function yb(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=0;do{g=a+(f<<1)|0;b[g>>1]=S(b[g>>1]|0,b[c+(f<<1)>>1]|0)|0;f=f+1|0}while((f|0)!=16);Ob(a,d,e,d,e);e=a;a=e+32|0;do{b[e>>1]=0;e=e+2|0}while((e|0)<(a|0));return}function zb(a){a=a|0;oe(a+7085|0,3236,1056)|0;return}function Ab(b){b=b|0;var c=0;c=b+7075|0;a[c>>0]=112;a[c+1>>0]=86;a[c+2>>0]=140;a[c+3>>0]=37;c=b+7079|0;a[c>>0]=a[4296]|0;a[c+1>>0]=a[4297]|0;a[c+2>>0]=a[4298]|0;c=b+7082|0;a[c>>0]=a[5265]|0;a[c+1>>0]=a[5266]|0;a[c+2>>0]=a[5267]|0;return}function Bb(b){b=b|0;var c=0,d=0;c=b;b=4302;d=c+9|0;do{a[c>>0]=a[b>>0]|0;c=c+1|0;b=b+1|0}while((c|0)<(d|0));return}function Cb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=b+16|0;h=d+((c[g>>2]|0)*14|0)|0;d=b+36|0;b=(c[d>>2]|0)*6|0;i=e+b|0;e=f+b|0;b=h+-1|0;f=i+-1|0;j=e+-1|0;a[h>>0]=a[b>>0]|0;a[i>>0]=a[f>>0]|0;a[e>>0]=a[j>>0]|0;a[h+1>>0]=a[b>>0]|0;a[i+1>>0]=a[f>>0]|0;a[e+1>>0]=a[j>>0]|0;a[h+2>>0]=a[b>>0]|0;a[i+2>>0]=a[f>>0]|0;a[e+2>>0]=a[j>>0]|0;a[h+3>>0]=a[b>>0]|0;a[i+3>>0]=a[f>>0]|0;a[e+3>>0]=a[j>>0]|0;j=h+(c[g>>2]|0)|0;g=c[d>>2]|0;d=i+g|0;i=e+g|0;g=j+-1|0;e=d+-1|0;h=i+-1|0;a[j>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h=h+1|0;if((h|0)==4)break;else r=r+j|0}l=k;return}function Eb(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;k=l;l=l+832|0;m=k;n=f+-8|0;o=b[304+(g*12|0)>>1]|0;p=b[304+(g*12|0)+2>>1]|0;q=b[304+(g*12|0)+4>>1]|0;r=b[304+(g*12|0)+6>>1]|0;s=b[304+(g*12|0)+8>>1]|0;t=b[304+(g*12|0)+10>>1]|0;g=0;u=m;v=e+(0-(f<<1))|0;while(1){f=0;e=v;do{w=S(d[e+-2>>0]|0,o)|0;x=S(d[e+-1>>0]|0,p)|0;y=S(d[e>>0]|0,q)|0;z=e;e=e+1|0;A=S(d[e>>0]|0,r)|0;B=S(d[z+2>>0]|0,s)|0;C=w+64+x+y+A+B+(S(d[z+3>>0]|0,t)|0)>>7;c[u+(f<<2)>>2]=(C|0)<0?0:(C|0)<255?C:255;f=f+1|0}while((f|0)!=8);g=g+1|0;if((g|0)==13)break;else{u=u+32|0;v=v+8+n|0}}n=b[304+(h*12|0)>>1]|0;v=b[304+(h*12|0)+2>>1]|0;u=b[304+(h*12|0)+4>>1]|0;g=b[304+(h*12|0)+6>>1]|0;t=b[304+(h*12|0)+8>>1]|0;s=b[304+(h*12|0)+10>>1]|0;h=0;r=i;i=m+64|0;while(1){m=0;q=i;while(1){p=S(n,c[q+-64>>2]|0)|0;o=S(v,c[q+-32>>2]|0)|0;f=S(u,c[q>>2]|0)|0;e=S(g,c[q+32>>2]|0)|0;C=S(t,c[q+64>>2]|0)|0;z=p+64+o+f+e+C+(S(s,c[q+96>>2]|0)|0)>>7;a[r+m>>0]=(z|0)<0?0:((z|0)<255?z:255)&255;m=m+1|0;if((m|0)==8)break;else q=q+4|0}h=h+1|0;if((h|0)==8)break;else{r=r+j|0;i=i+32|0}}l=k;return}function Fb(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;k=l;l=l+832|0;m=k;n=f+-8|0;o=b[304+(g*12|0)>>1]|0;p=b[304+(g*12|0)+2>>1]|0;q=b[304+(g*12|0)+4>>1]|0;r=b[304+(g*12|0)+6>>1]|0;s=b[304+(g*12|0)+8>>1]|0;t=b[304+(g*12|0)+10>>1]|0;g=0;u=m;v=e+(0-(f<<1))|0;while(1){f=0;e=v;do{w=S(d[e+-2>>0]|0,o)|0;x=S(d[e+-1>>0]|0,p)|0;y=S(d[e>>0]|0,q)|0;z=e;e=e+1|0;A=S(d[e>>0]|0,r)|0;B=S(d[z+2>>0]|0,s)|0;C=w+64+x+y+A+B+(S(d[z+3>>0]|0,t)|0)>>7;c[u+(f<<2)>>2]=(C|0)<0?0:(C|0)<255?C:255;f=f+1|0}while((f|0)!=8);g=g+1|0;if((g|0)==9)break;else{u=u+32|0;v=v+8+n|0}}n=b[304+(h*12|0)>>1]|0;v=b[304+(h*12|0)+2>>1]|0;u=b[304+(h*12|0)+4>>1]|0;g=b[304+(h*12|0)+6>>1]|0;t=b[304+(h*12|0)+8>>1]|0;s=b[304+(h*12|0)+10>>1]|0;h=0;r=m+64|0;while(1){q=S(n,c[r+-64>>2]|0)|0;p=S(v,c[r+-32>>2]|0)|0;o=S(u,c[r>>2]|0)|0;f=S(g,c[r+32>>2]|0)|0;e=S(t,c[r+64>>2]|0)|0;C=q+64+p+o+f+e+(S(s,c[r+96>>2]|0)|0)>>7;a[i+h>>0]=(C|0)<0?0:((C|0)<255?C:255)&255;h=h+1|0;if((h|0)==8)break;else r=r+4|0}r=i+j|0;i=0;h=m+96|0;while(1){C=S(n,c[h+-64>>2]|0)|0;e=S(v,c[h+-32>>2]|0)|0;f=S(u,c[h>>2]|0)|0;o=S(g,c[h+32>>2]|0)|0;p=S(t,c[h+64>>2]|0)|0;q=C+64+e+f+o+p+(S(s,c[h+96>>2]|0)|0)>>7;a[r+i>>0]=(q|0)<0?0:((q|0)<255?q:255)&255;i=i+1|0;if((i|0)==8)break;else h=h+4|0}h=r+j|0;r=0;i=m+128|0;while(1){q=S(n,c[i+-64>>2]|0)|0;p=S(v,c[i+-32>>2]|0)|0;o=S(u,c[i>>2]|0)|0;f=S(g,c[i+32>>2]|0)|0;e=S(t,c[i+64>>2]|0)|0;C=q+64+p+o+f+e+(S(s,c[i+96>>2]|0)|0)>>7;a[h+r>>0]=(C|0)<0?0:((C|0)<255?C:255)&255;r=r+1|0;if((r|0)==8)break;else i=i+4|0}i=h+j|0;j=0;h=m+160|0;while(1){m=S(n,c[h+-64>>2]|0)|0;r=S(v,c[h+-32>>2]|0)|0;C=S(u,c[h>>2]|0)|0;e=S(g,c[h+32>>2]|0)|0;f=S(t,c[h+64>>2]|0)|0;o=m+64+r+C+e+f+(S(s,c[h+96>>2]|0)|0)>>7;a[i+j>>0]=(o|0)<0?0:((o|0)<255?o:255)&255;j=j+1|0;if((j|0)==8)break;else h=h+4|0}l=k;return}function Gb(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;k=l;l=l+2016|0;m=k;n=f+-16|0;o=b[304+(g*12|0)>>1]|0;p=b[304+(g*12|0)+2>>1]|0;q=b[304+(g*12|0)+4>>1]|0;r=b[304+(g*12|0)+6>>1]|0;s=b[304+(g*12|0)+8>>1]|0;t=b[304+(g*12|0)+10>>1]|0;g=0;u=m;v=e+(0-(f<<1))|0;while(1){f=0;e=v;do{w=S(d[e+-2>>0]|0,o)|0;x=S(d[e+-1>>0]|0,p)|0;y=S(d[e>>0]|0,q)|0;z=e;e=e+1|0;A=S(d[e>>0]|0,r)|0;B=S(d[z+2>>0]|0,s)|0;C=w+64+x+y+A+B+(S(d[z+3>>0]|0,t)|0)>>7;c[u+(f<<2)>>2]=(C|0)<0?0:(C|0)<255?C:255;f=f+1|0}while((f|0)!=16);g=g+1|0;if((g|0)==21)break;else{u=u+64|0;v=v+16+n|0}}n=b[304+(h*12|0)>>1]|0;v=b[304+(h*12|0)+2>>1]|0;u=b[304+(h*12|0)+4>>1]|0;g=b[304+(h*12|0)+6>>1]|0;t=b[304+(h*12|0)+8>>1]|0;s=b[304+(h*12|0)+10>>1]|0;h=0;r=i;i=m+128|0;while(1){m=0;q=i;while(1){p=S(n,c[q+-128>>2]|0)|0;o=S(v,c[q+-64>>2]|0)|0;f=S(u,c[q>>2]|0)|0;e=S(g,c[q+64>>2]|0)|0;C=S(t,c[q+128>>2]|0)|0;z=p+64+o+f+e+C+(S(s,c[q+192>>2]|0)|0)>>7;a[r+m>>0]=(z|0)<0?0:((z|0)<255?z:255)&255;m=m+1|0;if((m|0)==16)break;else q=q+4|0}h=h+1|0;if((h|0)==16)break;else{r=r+j|0;i=i+64|0}}l=k;return}function Hb(c,f,g,h,i,j){c=c|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0;k=l;l=l+544|0;m=k;n=f+-4|0;f=b[272+(g<<2)>>1]|0;o=b[272+(g<<2)+2>>1]|0;g=m;p=0;q=c;while(1){c=S(f,d[q>>0]|0)|0;r=d[q+1>>0]|0;b[g>>1]=(c+64+(S(o,r)|0)|0)>>>7;c=S(f,r)|0;r=d[q+2>>0]|0;b[g+2>>1]=(c+64+(S(o,r)|0)|0)>>>7;c=S(f,r)|0;r=d[q+3>>0]|0;b[g+4>>1]=(c+64+(S(o,r)|0)|0)>>>7;c=S(f,r)|0;b[g+6>>1]=(c+64+(S(o,d[q+4>>0]|0)|0)|0)>>>7;p=p+1|0;if((p|0)==5)break;else{g=g+8|0;q=q+4+n|0}}n=b[272+(h<<2)>>1]|0;q=b[272+(h<<2)+2>>1]|0;h=b[m>>1]|0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d[r>>0]|0)|0;r=r+1|0;b[g+(c<<1)>>1]=(s+64+(S(o,d[r>>0]|0)|0)|0)>>>7;c=c+1|0}while((c|0)!=16);p=p+1|0;if((p|0)==17)break;else{g=g+32|0;q=q+16+n|0}}n=b[272+(h<<2)>>1]|0;q=b[272+(h<<2)+2>>1]|0;h=i;i=0;g=m;while(1){m=0;p=g;while(1){o=S(n,e[p>>1]|0)|0;a[h+m>>0]=(o+64+(S(q,e[p+32>>1]|0)|0)|0)>>>7;m=m+1|0;if((m|0)==16)break;else p=p+2|0}i=i+1|0;if((i|0)==16)break;else{h=h+j|0;g=g+32|0}}l=k;return}function Lb(a){a=a|0;return}function Mb(c,d,e,f,g){c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;h=(f<<2)+-16|0;i=e;e=g;g=0;j=c;while(1){if((a[e>>0]|0)>1)yb(j,d,i,f);else{Pb((S(b[d>>1]|0,b[j>>1]|0)|0)&65535,i,f,i,f);b[j>>1]=0;b[j+2>>1]=0>>>16}c=j+32|0;k=i+4|0;if((a[e+1>>0]|0)>1)yb(c,d,k,f);else{Pb((S(b[d>>1]|0,b[c>>1]|0)|0)&65535,k,f,k,f);b[c>>1]=0;b[c+2>>1]=0>>>16}c=j+64|0;k=i+8|0;if((a[e+2>>0]|0)>1)yb(c,d,k,f);else{Pb((S(b[d>>1]|0,b[c>>1]|0)|0)&65535,k,f,k,f);b[c>>1]=0;b[c+2>>1]=0>>>16}c=j+96|0;k=i+12|0;if((a[e+3>>0]|0)>1)yb(c,d,k,f);else{Pb((S(b[d>>1]|0,b[c>>1]|0)|0)&65535,k,f,k,f);b[c>>1]=0;b[c+2>>1]=0>>>16}g=g+1|0;if((g|0)==4)break;else{i=i+16+h|0;e=e+4|0;j=j+128|0}}return}function Nb(c,d,e,f,g,h){c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;i=(g<<2)+-8|0;j=c+64|0;if((a[h>>0]|0)>1)yb(c,d,e,g);else{Pb((S(b[d>>1]|0,b[c>>1]|0)|0)&65535,e,g,e,g);b[c>>1]=0;b[c+2>>1]=0>>>16}k=c+32|0;l=e+4|0;if((a[h+1>>0]|0)>1)yb(k,d,l,g);else{Pb((S(b[d>>1]|0,b[k>>1]|0)|0)&65535,l,g,l,g);b[k>>1]=0;b[k+2>>1]=0>>>16}k=e+8+i|0;if((a[h+2>>0]|0)>1)yb(j,d,k,g);else{Pb((S(b[d>>1]|0,b[j>>1]|0)|0)&65535,k,g,k,g);b[j>>1]=0;b[j+2>>1]=0>>>16}j=c+96|0;e=k+4|0;if((a[h+3>>0]|0)>1)yb(j,d,e,g);else{Pb((S(b[d>>1]|0,b[j>>1]|0)|0)&65535,e,g,e,g);b[j>>1]=0;b[j+2>>1]=0>>>16}j=c+128|0;e=c+192|0;if((a[h+4>>0]|0)>1)yb(j,d,f,g);else{Pb((S(b[d>>1]|0,b[j>>1]|0)|0)&65535,f,g,f,g);b[j>>1]=0;b[j+2>>1]=0>>>16}j=c+160|0;k=f+4|0;if((a[h+5>>0]|0)>1)yb(j,d,k,g);else{Pb((S(b[d>>1]|0,b[j>>1]|0)|0)&65535,k,g,k,g);b[j>>1]=0;b[j+2>>1]=0>>>16}j=f+8+i|0;if((a[h+6>>0]|0)>1)yb(e,d,j,g);else{Pb((S(b[d>>1]|0,b[e>>1]|0)|0)&65535,j,g,j,g);b[e>>1]=0;b[e+2>>1]=0>>>16}e=c+224|0;c=j+4|0;if((a[h+7>>0]|0)>1){yb(e,d,c,g);return}else{Pb((S(b[d>>1]|0,b[e>>1]|0)|0)&65535,c,g,c,g);b[e>>1]=0;b[e+2>>1]=0>>>16;return}}function Ob(c,e,f,g,h){c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;i=l;l=l+32|0;j=i;k=b[c>>1]|0;m=b[c+16>>1]|0;n=m+k|0;o=k-m|0;m=b[c+8>>1]|0;k=b[c+24>>1]|0;p=(m*35468>>16)-k-(k*20091>>16)|0;q=(m*20091>>16)+m+(k*35468>>16)|0;b[j>>1]=q+n;b[j+24>>1]=n-q;b[j+8>>1]=p+o;b[j+16>>1]=o-p;p=b[c+2>>1]|0;o=b[c+18>>1]|0;q=o+p|0;n=p-o|0;o=b[c+10>>1]|0;p=b[c+26>>1]|0;k=(o*35468>>16)-p-(p*20091>>16)|0;m=(o*20091>>16)+o+(p*35468>>16)|0;p=m+q&65535;b[j+2>>1]=p;b[j+26>>1]=q-m;b[j+10>>1]=k+n;b[j+18>>1]=n-k;k=b[c+4>>1]|0;n=b[c+20>>1]|0;m=n+k|0;q=k-n|0;n=b[c+12>>1]|0;k=b[c+28>>1]|0;o=(n*35468>>16)-k-(k*20091>>16)|0;r=(n*20091>>16)+n+(k*35468>>16)|0;b[j+4>>1]=r+m;b[j+28>>1]=m-r;b[j+12>>1]=o+q;b[j+20>>1]=q-o;o=b[c+6>>1]|0;q=b[c+22>>1]|0;r=q+o|0;m=o-q|0;q=b[c+14>>1]|0;o=b[c+30>>1]|0;c=(q*35468>>16)-o-(o*20091>>16)|0;k=(q*20091>>16)+q+(o*35468>>16)|0;b[j+6>>1]=k+r;b[j+30>>1]=r-k;b[j+14>>1]=c+m;b[j+22>>1]=m-c;c=p;p=0;m=j;while(1){k=b[m>>1]|0;r=m+4|0;o=b[r>>1]|0;q=c<<16>>16;n=m+6|0;s=b[n>>1]|0;t=(q*35468>>16)-s-(s*20091>>16)|0;u=(q*20091>>16)+q+(s*35468>>16)|0;s=o+k+4|0;b[m>>1]=(s+u|0)>>>3;b[n>>1]=(s-u|0)>>>3;u=k-o+4|0;b[m+2>>1]=(u+t|0)>>>3;b[r>>1]=(u-t|0)>>>3;t=p+1|0;if((t|0)==4){v=g;w=j;x=e;y=0;break}c=b[m+10>>1]|0;p=t;m=m+8|0}while(1){m=(d[x>>0]|0)+(b[w>>1]|0)|0;p=(m|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>1]=(h+f|0)>>>3;b[e+4>>1]=(k-n|0)>>>3;b[e+6>>1]=(h-f|0)>>>3;f=b[g>>1]|0;h=s+r<<16>>16;r=e+10|0;s=b[r>>1]|0;n=p+j<<16>>16;j=n+s|0;p=s-n|0;n=h+f+3|0;s=(n+j|0)>>>3&65535;b[g>>1]=s;g=f-h+3|0;h=(g+p|0)>>>3&65535;b[r>>1]=h;r=(n-j|0)>>>3&65535;b[e+12>>1]=r;j=(g-p|0)>>>3&65535;b[e+14>>1]=j;p=e+16|0;g=b[p>>1]|0;n=o<<16>>16;o=e+18|0;f=b[o>>1]|0;k=e+20|0;m=b[k>>1]|0;t=m+f|0;q=f-m|0;m=n+g+3|0;f=(m+t|0)>>>3&65535;b[p>>1]=f;p=g-n+3|0;n=(p+q|0)>>>3&65535;b[o>>1]=n;o=(m-t|0)>>>3&65535;b[k>>1]=o;k=(p-q|0)>>>3&65535;b[e+22>>1]=k;q=e+24|0;p=b[q>>1]|0;t=i<<16>>16;i=e+26|0;m=b[i>>1]|0;g=e+28|0;a=b[g>>1]|0;u=a+m|0;v=m-a|0;a=t+p+3|0;m=(a+u|0)>>>3&65535;b[q>>1]=m;q=p-t+3|0;t=(q+v|0)>>>3&65535;b[i>>1]=t;i=(a-u|0)>>>3&65535;b[g>>1]=i;g=(q-v|0)>>>3&65535;b[e+30>>1]=g;b[c>>1]=b[e>>1]|0;b[c+32>>1]=b[e+2>>1]|0;b[c+64>>1]=b[e+4>>1]|0;b[c+96>>1]=b[e+6>>1]|0;b[c+128>>1]=s;b[c+160>>1]=h;b[c+192>>1]=r;b[c+224>>1]=j;b[c+256>>1]=f;b[c+288>>1]=n;b[c+320>>1]=o;b[c+352>>1]=k;b[c+384>>1]=m;b[c+416>>1]=t;b[c+448>>1]=i;b[c+480>>1]=g;l=d;return}function Rb(a,c){a=a|0;c=c|0;var d=0;d=((b[a>>1]|0)+3|0)>>>3&65535;b[c>>1]=d;b[c+32>>1]=d;b[c+64>>1]=d;b[c+96>>1]=d;b[c+128>>1]=d;b[c+160>>1]=d;b[c+192>>1]=d;b[c+224>>1]=d;b[c+256>>1]=d;b[c+288>>1]=d;b[c+320>>1]=d;b[c+352>>1]=d;b[c+384>>1]=d;b[c+416>>1]=d;b[c+448>>1]=d;b[c+480>>1]=d;return}function Sb(){if(c[2146]|0)return;c[2146]=1;return}function Tb(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=b+5896|0;e=c[d>>2]|0;f=(e|0)>0;g=f&1;h=(e|0)>4&1;i=9-e|0;if(f){f=0;do{e=f>>g>>h;j=(e|0)>(i|0)?i:e;e=(j|0)>1?j:1;je(b+4592+(f<<4)|0,e&255|0,16)|0;j=f<<1;je(b+3568+(f<<4)|0,e+j&255|0,16)|0;je(b+2544+(f<<4)|0,j+4+e&255|0,16)|0;f=f+1|0}while((f|0)!=64)}else{f=0;do{i=f>>g>>h;e=(i|0)>1?i:1;je(b+4592+(f<<4)|0,e&255|0,16)|0;i=f<<1;je(b+3568+(f<<4)|0,e+i&255|0,16)|0;je(b+2544+(f<<4)|0,i+4+e&255|0,16)|0;f=f+1|0}while((f|0)!=64)}c[b+5892>>2]=c[d>>2];d=0;do{do if((d|0)<=39)if((d|0)>19){a[b+5744+d>>0]=1;k=2;break}else{f=(d|0)>14&1;a[b+5744+d>>0]=f;k=f;break}else{a[b+5744+d>>0]=2;k=3}while(0);a[b+5808+d>>0]=k;d=d+1|0}while((d|0)!=64);c[b+5872>>2]=16843009;a[b+5876>>0]=0;a[b+5879>>0]=1;a[b+5877>>0]=2;a[b+5878>>0]=2;a[b+5880>>0]=2;a[b+5881>>0]=3;d=b+5616|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;d=b+5632|0;c[d>>2]=16843009;c[d+4>>2]=16843009;c[d+8>>2]=16843009;c[d+12>>2]=16843009;d=b+5648|0;c[d>>2]=33686018;c[d+4>>2]=33686018;c[d+8>>2]=33686018;c[d+12>>2]=33686018;d=b+5664|0;c[d>>2]=50529027;c[d+4>>2]=50529027;c[d+8>>2]=50529027;c[d+12>>2]=50529027;return}function Ub(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=b+5892|0;g=b+5896|0;h=c[g>>2]|0;if((c[f>>2]|0)!=(h|0)){i=(h|0)>0;j=i&1;k=(h|0)>4&1;l=9-h|0;if(i){i=0;do{h=i>>j>>k;m=(h|0)>(l|0)?l:h;h=(m|0)>1?m:1;je(b+4592+(i<<4)|0,h&255|0,16)|0;m=i<<1;je(b+3568+(i<<4)|0,h+m&255|0,16)|0;je(b+2544+(i<<4)|0,m+4+h&255|0,16)|0;i=i+1|0}while((i|0)!=64)}else{i=0;do{l=i>>j>>k;h=(l|0)>1?l:1;je(b+4592+(i<<4)|0,h&255|0,16)|0;l=i<<1;je(b+3568+(i<<4)|0,h+l&255|0,16)|0;je(b+2544+(i<<4)|0,l+4+h&255|0,16)|0;i=i+1|0}while((i|0)!=64)}c[f>>2]=c[g>>2]}g=d+3148|0;f=d+3163|0;i=d+3169|0;k=d+3177|0;j=d+3151|0;h=d+3178|0;l=d+3170|0;m=d+3179|0;n=d+3180|0;o=d+3171|0;p=d+3172|0;q=0;do{if(!(a[g>>0]|0))r=e;else{s=(a[d+3159+q>>0]|0)+((a[j>>0]|0)==1?0:e)|0;r=(s|0)>0?((s|0)<63?s:63):0}if(!(a[f>>0]|0))je(b+5680+(q<<4)|0,r&255|0,16)|0;else{s=(a[i>>0]|0)+r|0;t=s+(a[k>>0]|0)|0;a[b+5680+(q<<4)>>0]=(t|0)>0?((t|0)<63?t:63)&255:0;a[b+5680+(q<<4)+1>>0]=(s|0)>0?((s|0)<63?s:63)&255:0;s=(a[l>>0]|0)+r|0;t=s+(a[h>>0]|0)|0;a[b+5680+(q<<4)+5>>0]=(t|0)>0?((t|0)<63?t:63)&255:0;t=s+(a[m>>0]|0)|0;a[b+5680+(q<<4)+6>>0]=(t|0)>0?((t|0)<63?t:63)&255:0;t=s+(a[n>>0]|0)|0;a[b+5680+(q<<4)+7>>0]=(t|0)>0?((t|0)<63?t:63)&255:0;t=(a[o>>0]|0)+r|0;s=t+(a[h>>0]|0)|0;a[b+5680+(q<<4)+9>>0]=(s|0)>0?((s|0)<63?s:63)&255:0;s=t+(a[m>>0]|0)|0;a[b+5680+(q<<4)+10>>0]=(s|0)>0?((s|0)<63?s:63)&255:0;s=t+(a[n>>0]|0)|0;a[b+5680+(q<<4)+11>>0]=(s|0)>0?((s|0)<63?s:63)&255:0;s=(a[p>>0]|0)+r|0;t=s+(a[h>>0]|0)|0;a[b+5680+(q<<4)+13>>0]=(t|0)>0?((t|0)<63?t:63)&255:0;t=s+(a[m>>0]|0)|0;a[b+5680+(q<<4)+14>>0]=(t|0)>0?((t|0)<63?t:63)&255:0;t=s+(a[n>>0]|0)|0;a[b+5680+(q<<4)+15>>0]=(t|0)>0?((t|0)<63?t:63)&255:0}q=q+1|0}while((q|0)!=4);return}function Vb(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;m=l;l=l+16|0;n=m;o=c[b+2452>>2]|0;p=b+2472|0;if((c[p>>2]|0)<=0){l=m;return}q=n+4|0;r=n+8|0;s=n+12|0;if((f|0)>0){t=0;u=e;v=j;w=k;x=i}else{f=0;y=e;e=j;j=k;k=i;while(1){i=a[y>>0]|0;z=i&255;switch(i<<24>>24){case 9:case 4:{A=0;break}default:A=(a[y+9>>0]|0)!=0}i=a[(d[b+5872+z>>0]|0)+(b+5680+(d[y+11>>0]<<4)+(d[y+2>>0]<<2))>>0]|0;z=i&255;if(i<<24>>24){i=d[b+5744+(o<<6)+z>>0]|0;c[n>>2]=b+2544+(z<<4);c[q>>2]=b+3568+(z<<4);c[r>>2]=b+4592+(z<<4);c[s>>2]=b+5616+(i<<4);if((f|0)>0)dc(k,e,j,g,h,n);if(!A){gc(k,e,j,g,h,n);ec(k,e,j,g,h,n)}}f=f+1|0;if((f|0)>=(c[p>>2]|0))break;else{y=y+76|0;e=e+8|0;j=j+8|0;k=k+16|0}}l=m;return}while(1){k=a[u>>0]|0;j=k&255;switch(k<<24>>24){case 9:case 4:{B=0;break}default:B=(a[u+9>>0]|0)!=0}k=a[(d[b+5872+j>>0]|0)+(b+5680+(d[u+11>>0]<<4)+(d[u+2>>0]<<2))>>0]|0;j=k&255;do if(k<<24>>24){e=d[b+5744+(o<<6)+j>>0]|0;c[n>>2]=b+2544+(j<<4);c[q>>2]=b+3568+(j<<4);c[r>>2]=b+4592+(j<<4);c[s>>2]=b+5616+(e<<4);if((t|0)>0)dc(x,v,w,g,h,n);if(B){cc(x,v,w,g,h,n);break}else{gc(x,v,w,g,h,n);cc(x,v,w,g,h,n);ec(x,v,w,g,h,n);break}}while(0);t=t+1|0;if((t|0)>=(c[p>>2]|0))break;else{u=u+76|0;v=v+8|0;w=w+8|0;x=x+16|0}}l=m;return}function Wb(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0;k=b+2472|0;if((c[k>>2]|0)<=0)return;if((f|0)>0){l=0;m=e;n=i}else{f=0;j=e;e=i;while(1){i=a[j>>0]|0;h=i&255;switch(i<<24>>24){case 9:case 4:{o=0;break}default:o=(a[j+9>>0]|0)!=0}i=a[(d[b+5872+h>>0]|0)+(b+5680+(d[j+11>>0]<<4)+(d[j+2>>0]<<2))>>0]|0;h=i&255;if(i<<24>>24){if((f|0)>0)bc(e,g,b+2544+(h<<4)|0);if(!o){i=b+3568+(h<<4)|0;hc(e,g,i);fc(e,g,i)}}f=f+1|0;if((f|0)>=(c[k>>2]|0))break;else{j=j+76|0;e=e+16|0}}return}while(1){e=a[m>>0]|0;j=e&255;switch(e<<24>>24){case 9:case 4:{p=0;break}default:p=(a[m+9>>0]|0)!=0}e=a[(d[b+5872+j>>0]|0)+(b+5680+(d[m+11>>0]<<4)+(d[m+2>>0]<<2))>>0]|0;j=e&255;do if(e<<24>>24){if((l|0)>0)bc(n,g,b+2544+(j<<4)|0);if(p){ac(n,g,b+2544+(j<<4)|0);break}else{f=b+3568+(j<<4)|0;hc(n,g,f);ac(n,g,b+2544+(j<<4)|0);fc(n,g,f);break}}while(0);l=l+1|0;if((l|0)>=(c[k>>2]|0))break;else{m=m+76|0;n=n+16|0}}return}function Xb(b,c,e,f,g,h){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;i=S(c,-4)|0;j=S(c,-3)|0;k=S(c,-2)|0;l=0-c|0;m=c<<1;n=c*3|0;o=0-m|0;p=h<<3;h=0;q=b;while(1){b=q+l|0;r=a[b>>0]|0;s=a[q>>0]|0;t=q+c|0;u=a[t>>0]|0;v=d[q+j>>0]|0;w=(d[q+i>>0]|0)-v|0;x=d[f>>0]|0;y=d[q+k>>0]|0;z=v-y|0;v=r&255;A=y-v|0;B=(A|0)>-1?A:0-A|0;A=u&255;C=s&255;D=A-C|0;E=(D|0)>-1?D:0-D|0;D=d[q+m>>0]|0;F=D-A|0;G=(d[q+n>>0]|0)-D|0;D=v-C|0;C=y-A|0;A=d[g>>0]|0;y=(B|0)>(A|0)|(E|0)>(A|0);A=q+o|0;v=(a[A>>0]^-128)<<24>>24;H=(u^-128)<<24>>24;u=v-H|0;I=(u|0)>-128?u:-128;u=(s^-128)<<24>>24;s=(r^-128)<<24>>24;r=(y?((I|0)<127?I:127)<<24>>24:0)+((u-s|0)*3|0)|0;I=(r|0)>-128?r:-128;r=(((((C|0)>-1?C:0-C|0)|0)/2|0)+(((D|0)>-1?D:0-D|0)<<1)|0)>(d[e>>0]|0|0)|(((((w|0)>-1?w:0-w|0)|0)>(x|0)?1:(((z|0)>-1?z:0-z|0)|0)>(x|0))|(B|0)>(x|0)|(E|0)>(x|0)|(((F|0)>-1?F:0-F|0)|0)>(x|0)|(((G|0)>-1?G:0-G|0)|0)>(x|0))?0:((I|0)<127?I:127)<<24>>24;I=r+4|0;x=(I|0)>-128?I:-128;I=r+3|0;r=(I|0)>-128?I:-128;I=((x|0)<127?x:127)<<24>>27;x=u-I|0;u=(x|0)>-128?x:-128;a[q>>0]=((u|0)<127?u:127)&255^-128;u=(((r|0)<127?r:127)<<24>>27)+s|0;s=(u|0)>-128?u:-128;a[b>>0]=((s|0)<127?s:127)&255^-128;s=((I+1|0)>>>1&(y?0:255))<<24>>24;y=H-s|0;H=(y|0)>-128?y:-128;a[t>>0]=((H|0)<127?H:127)&255^-128;H=s+v|0;v=(H|0)>-128?H:-128;a[A>>0]=((v|0)<127?v:127)&255^-128;h=h+1|0;if((h|0)>=(p|0))break;else q=q+1|0}return}function Yb(b,c,e,f,g,h){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;i=h<<3;if((c|0)!=1){h=0;j=b;while(1){k=j+-2|0;l=a[k>>0]|0;m=j+-1|0;n=a[m>>0]|0;o=a[j>>0]|0;p=j+1|0;q=a[p>>0]|0;r=d[j+-3>>0]|0;s=(d[j+-4>>0]|0)-r|0;t=d[f>>0]|0;u=l&255;v=r-u|0;r=n&255;w=u-r|0;x=(w|0)>-1?w:0-w|0;w=q&255;y=o&255;z=w-y|0;A=(z|0)>-1?z:0-z|0;z=d[j+2>>0]|0;B=z-w|0;C=(d[j+3>>0]|0)-z|0;z=r-y|0;y=u-w|0;w=d[g>>0]|0;u=(x|0)>(w|0)|(A|0)>(w|0);w=(l^-128)<<24>>24;l=(q^-128)<<24>>24;q=w-l|0;r=(q|0)>-128?q:-128;q=(o^-128)<<24>>24;o=(n^-128)<<24>>24;n=(u?((r|0)<127?r:127)<<24>>24:0)+((q-o|0)*3|0)|0;r=(n|0)>-128?n:-128;n=(((((y|0)>-1?y:0-y|0)|0)/2|0)+(((z|0)>-1?z:0-z|0)<<1)|0)>(d[e>>0]|0|0)|(((((s|0)>-1?s:0-s|0)|0)>(t|0)?1:(((v|0)>-1?v:0-v|0)|0)>(t|0))|(x|0)>(t|0)|(A|0)>(t|0)|(((B|0)>-1?B:0-B|0)|0)>(t|0)|(((C|0)>-1?C:0-C|0)|0)>(t|0))?0:((r|0)<127?r:127)<<24>>24;r=n+4|0;t=(r|0)>-128?r:-128;r=n+3|0;n=(r|0)>-128?r:-128;r=((t|0)<127?t:127)<<24>>27;t=q-r|0;q=(t|0)>-128?t:-128;a[j>>0]=((q|0)<127?q:127)&255^-128;q=(((n|0)<127?n:127)<<24>>27)+o|0;o=(q|0)>-128?q:-128;a[m>>0]=((o|0)<127?o:127)&255^-128;o=((r+1|0)>>>1&(u?0:255))<<24>>24;u=l-o|0;l=(u|0)>-128?u:-128;a[p>>0]=((l|0)<127?l:127)&255^-128;l=o+w|0;w=(l|0)>-128?l:-128;a[k>>0]=((w|0)<127?w:127)&255^-128;h=h+1|0;if((h|0)>=(i|0))break;else j=j+c|0}return}j=0;h=b;w=a[b>>0]|0;while(1){b=h+-2|0;k=a[b>>0]|0;l=h+-1|0;o=a[l>>0]|0;p=h+1|0;u=a[p>>0]|0;r=d[h+-3>>0]|0;m=(d[h+-4>>0]|0)-r|0;q=d[f>>0]|0;n=k&255;t=r-n|0;r=o&255;C=n-r|0;B=(C|0)>-1?C:0-C|0;C=u&255;A=w&255;x=C-A|0;v=(x|0)>-1?x:0-x|0;x=d[h+2>>0]|0;s=x-C|0;z=(d[h+3>>0]|0)-x|0;x=r-A|0;A=n-C|0;C=d[g>>0]|0;n=(B|0)>(C|0)|(v|0)>(C|0);C=(k^-128)<<24>>24;k=(u^-128)<<24>>24;u=C-k|0;r=(u|0)>-128?u:-128;u=(w^-128)<<24>>24;y=(o^-128)<<24>>24;o=(n?((r|0)<127?r:127)<<24>>24:0)+((u-y|0)*3|0)|0;r=(o|0)>-128?o:-128;o=(((((A|0)>-1?A:0-A|0)|0)/2|0)+(((x|0)>-1?x:0-x|0)<<1)|0)>(d[e>>0]|0|0)|(((((m|0)>-1?m:0-m|0)|0)>(q|0)?1:(((t|0)>-1?t:0-t|0)|0)>(q|0))|(B|0)>(q|0)|(v|0)>(q|0)|(((s|0)>-1?s:0-s|0)|0)>(q|0)|(((z|0)>-1?z:0-z|0)|0)>(q|0))?0:((r|0)<127?r:127)<<24>>24;r=o+4|0;q=(r|0)>-128?r:-128;r=o+3|0;o=(r|0)>-128?r:-128;r=((q|0)<127?q:127)<<24>>27;q=u-r|0;u=(q|0)>-128?q:-128;a[h>>0]=((u|0)<127?u:127)&255^-128;u=(((o|0)<127?o:127)<<24>>27)+y|0;y=(u|0)>-128?u:-128;a[l>>0]=((y|0)<127?y:127)&255^-128;y=((r+1|0)>>>1&(n?0:255))<<24>>24;n=k-y|0;k=(n|0)>-128?n:-128;w=((k|0)<127?k:127)&255^-128;a[p>>0]=w;p=y+C|0;C=(p|0)>-128?p:-128;a[b>>0]=((C|0)<127?C:127)&255^-128;j=j+1|0;if((j|0)>=(i|0))break;else h=h+c|0}return}function Zb(a,b,c,e,f,g){a=a|0;b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;h=S(b,-4)|0;i=S(b,-3)|0;j=S(b,-2)|0;k=0-b|0;l=b<<1;m=b*3|0;n=0-m|0;o=0-l|0;p=g<<3;g=0;q=a;while(1){a=q+k|0;r=q+b|0;s=q+l|0;t=d[q+i>>0]|0;u=(d[q+h>>0]|0)-t|0;v=d[e>>0]|0;w=d[q+j>>0]|0;x=t-w|0;t=d[a>>0]|0;y=w-t|0;z=(y|0)>-1?y:0-y|0;y=d[r>>0]|0;A=d[q>>0]|0;B=y-A|0;C=(B|0)>-1?B:0-B|0;B=d[s>>0]|0;D=B-y|0;E=(d[q+m>>0]|0)-B|0;B=t-A|0;A=w-y|0;y=d[f>>0]|0;_b((((((((A|0)>-1?A:0-A|0)|0)/2|0)+(((B|0)>-1?B:0-B|0)<<1)|0)>(d[c>>0]|0|0)|(((((u|0)>-1?u:0-u|0)|0)>(v|0)?1:(((x|0)>-1?x:0-x|0)|0)>(v|0))|(z|0)>(v|0)|(C|0)>(v|0)|(((D|0)>-1?D:0-D|0)|0)>(v|0)|(((E|0)>-1?E:0-E|0)|0)>(v|0)))^1)<<31>>31,((z|0)>(y|0)|(C|0)>(y|0))<<31>>31,q+n|0,q+o|0,a,q,r,s);g=g+1|0;if((g|0)>=(p|0))break;else q=q+1|0}return}function _b(b,c,d,e,f,g,h,i){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=a[d>>0]^-128;k=a[i>>0]^-128;l=(a[e>>0]^-128)<<24>>24;m=(a[h>>0]^-128)<<24>>24;n=l-m|0;o=(n|0)>-128?n:-128;n=(a[g>>0]^-128)<<24>>24;p=(a[f>>0]^-128)<<24>>24;q=(((o|0)<127?o:127)<<24>>24)+((n-p|0)*3|0)|0;o=(q|0)>-128?q:-128;q=c&255;c=(((o|0)<127?o:127)&255&b)<<24>>24;b=(c&q)<<24>>24;o=b+4|0;r=(o|0)>-128?o:-128;o=b+3|0;b=(o|0)>-128?o:-128;o=n-(((r|0)<127?r:127)<<24>>27)|0;r=(o|0)>-128?o:-128;o=(((b|0)<127?b:127)<<24>>27)+p|0;p=(o|0)>-128?o:-128;o=(c&(q^255))<<24>>24;q=(o*27|0)+63>>7;c=(q|0)>-128?q:-128;q=((c|0)<127?c:127)<<24>>24;c=(((r|0)<127?r:127)<<24>>24)-q|0;r=(c|0)>-128?c:-128;a[g>>0]=((r|0)<127?r:127)&255^-128;r=(((p|0)<127?p:127)<<24>>24)+q|0;q=(r|0)>-128?r:-128;a[f>>0]=((q|0)<127?q:127)&255^-128;q=(o*18|0)+63>>7;f=(q|0)>-128?q:-128;q=((f|0)<127?f:127)<<24>>24;f=m-q|0;m=(f|0)>-128?f:-128;a[h>>0]=((m|0)<127?m:127)&255^-128;m=q+l|0;l=(m|0)>-128?m:-128;a[e>>0]=((l|0)<127?l:127)&255^-128;l=(o*9|0)+63>>7;o=(l|0)>-128?l:-128;l=((o|0)<127?o:127)<<24>>24;o=(k<<24>>24)-l|0;k=(o|0)>-128?o:-128;a[i>>0]=((k|0)<127?k:127)&255^-128;k=l+(j<<24>>24)|0;j=(k|0)>-128?k:-128;a[d>>0]=((j|0)<127?j:127)&255^-128;return}function $b(a,b,c,e,f,g){a=a|0;b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=g<<3;g=0;i=a;while(1){a=i+-3|0;j=i+-2|0;k=i+-1|0;l=i+1|0;m=i+2|0;n=d[a>>0]|0;o=(d[i+-4>>0]|0)-n|0;p=d[e>>0]|0;q=d[j>>0]|0;r=n-q|0;n=d[k>>0]|0;s=q-n|0;t=(s|0)>-1?s:0-s|0;s=d[l>>0]|0;u=d[i>>0]|0;v=s-u|0;w=(v|0)>-1?v:0-v|0;v=d[m>>0]|0;x=v-s|0;y=(d[i+3>>0]|0)-v|0;v=n-u|0;u=q-s|0;s=d[f>>0]|0;_b((((((((u|0)>-1?u:0-u|0)|0)/2|0)+(((v|0)>-1?v:0-v|0)<<1)|0)>(d[c>>0]|0|0)|(((((o|0)>-1?o:0-o|0)|0)>(p|0)?1:(((r|0)>-1?r:0-r|0)|0)>(p|0))|(t|0)>(p|0)|(w|0)>(p|0)|(((x|0)>-1?x:0-x|0)|0)>(p|0)|(((y|0)>-1?y:0-y|0)|0)>(p|0)))^1)<<31>>31,((t|0)>(s|0)|(w|0)>(s|0))<<31>>31,a,j,k,i,l,m);g=g+1|0;if((g|0)>=(h|0))break;else i=i+b|0}return}function ac(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=S(c,-2)|0;g=0-c|0;h=0-(c<<1)|0;i=0;j=b;while(1){b=j+g|0;k=a[b>>0]|0;l=a[j>>0]|0;m=a[j+c>>0]|0;n=(k&255)-(l&255)|0;o=(d[j+f>>0]|0)-(m&255)|0;p=((a[j+h>>0]^-128)<<24>>24)-((m^-128)<<24>>24)|0;m=(p|0)>-128?p:-128;p=(l^-128)<<24>>24;l=(k^-128)<<24>>24;k=(((m|0)<127?m:127)<<24>>24)+((p-l|0)*3|0)|0;m=(k|0)>-128?k:-128;k=(((((o|0)>-1?o:0-o|0)|0)/2|0)+(((n|0)>-1?n:0-n|0)<<1)|0)<=(d[e>>0]|0|0)?((m|0)<127?m:127)<<24>>24:0;m=k+4|0;n=(m|0)>-128?m:-128;m=p-(((n|0)<127?n:127)<<24>>27)|0;n=(m|0)>-128?m:-128;a[j>>0]=((n|0)<127?n:127)&255^-128;n=k+3|0;k=(n|0)>-128?n:-128;n=(((k|0)<127?k:127)<<24>>27)+l|0;l=(n|0)>-128?n:-128;a[b>>0]=((l|0)<127?l:127)&255^-128;i=i+1|0;if((i|0)==16)break;else j=j+1|0}return}function bc(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if((c|0)!=1){f=0;g=b;while(1){h=a[g+-2>>0]|0;i=g+-1|0;j=a[i>>0]|0;k=a[g>>0]|0;l=a[g+1>>0]|0;m=(j&255)-(k&255)|0;n=(h&255)-(l&255)|0;o=((h^-128)<<24>>24)-((l^-128)<<24>>24)|0;l=(o|0)>-128?o:-128;o=(k^-128)<<24>>24;k=(j^-128)<<24>>24;j=(((l|0)<127?l:127)<<24>>24)+((o-k|0)*3|0)|0;l=(j|0)>-128?j:-128;j=(((((n|0)>-1?n:0-n|0)|0)/2|0)+(((m|0)>-1?m:0-m|0)<<1)|0)<=(d[e>>0]|0|0)?((l|0)<127?l:127)<<24>>24:0;l=j+4|0;m=(l|0)>-128?l:-128;l=o-(((m|0)<127?m:127)<<24>>27)|0;m=(l|0)>-128?l:-128;a[g>>0]=((m|0)<127?m:127)&255^-128;m=j+3|0;j=(m|0)>-128?m:-128;m=(((j|0)<127?j:127)<<24>>27)+k|0;k=(m|0)>-128?m:-128;a[i>>0]=((k|0)<127?k:127)&255^-128;f=f+1|0;if((f|0)==16)break;else g=g+c|0}return}g=0;f=b;k=a[b+-1>>0]|0;while(1){b=a[f+-2>>0]|0;i=a[f>>0]|0;m=a[f+1>>0]|0;j=(k&255)-(i&255)|0;l=(b&255)-(m&255)|0;o=((b^-128)<<24>>24)-((m^-128)<<24>>24)|0;m=(o|0)>-128?o:-128;o=(i^-128)<<24>>24;i=(k^-128)<<24>>24;b=(((m|0)<127?m:127)<<24>>24)+((o-i|0)*3|0)|0;m=(b|0)>-128?b:-128;b=(((((l|0)>-1?l:0-l|0)|0)/2|0)+(((j|0)>-1?j:0-j|0)<<1)|0)<=(d[e>>0]|0|0)?((m|0)<127?m:127)<<24>>24:0;m=b+4|0;j=(m|0)>-128?m:-128;m=o-(((j|0)<127?j:127)<<24>>27)|0;j=(m|0)>-128?m:-128;k=((j|0)<127?j:127)&255^-128;a[f>>0]=k;j=b+3|0;b=(j|0)>-128?j:-128;j=(((b|0)<127?b:127)<<24>>27)+i|0;i=(j|0)>-128?j:-128;a[f+-1>>0]=((i|0)<127?i:127)&255^-128;g=g+1|0;if((g|0)==16)break;else f=f+c|0}return}function cc(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,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0)Yb(b+4|0,f,c[h>>2]|0,c[i>>2]|0,c[j>>2]|0,1);if(!d)return;Yb(d+4|0,f,c[h>>2]|0,c[i>>2]|0,c[j>>2]|0,1);return}function hc(a,b,c){a=a|0;b=b|0;c=c|0;bc(a+4|0,b,c);bc(a+8|0,b,c);bc(a+12|0,b,c);return}function ic(a){a=a|0;var b=0,d=0;c[a+2152>>2]=a;c[a+2180>>2]=a+4;c[a+2208>>2]=a+8;c[a+2236>>2]=a+12;c[a+2264>>2]=a+64;c[a+2292>>2]=a+68;c[a+2320>>2]=a+72;c[a+2348>>2]=a+76;c[a+2376>>2]=a+128;c[a+2404>>2]=a+132;c[a+2432>>2]=a+136;c[a+2460>>2]=a+140;c[a+2488>>2]=a+192;c[a+2516>>2]=a+196;c[a+2544>>2]=a+200;c[a+2572>>2]=a+204;c[a+2600>>2]=a+256;c[a+2628>>2]=a+260;c[a+2656>>2]=a+288;c[a+2684>>2]=a+292;c[a+2712>>2]=a+320;c[a+2740>>2]=a+324;c[a+2768>>2]=a+352;c[a+2796>>2]=a+356;b=0;do{d=b<<4;c[a+2144+(b*28|0)>>2]=a+384+(d<<1);c[a+2144+(b*28|0)+4>>2]=a+1184+(d<<1);c[a+2144+(b*28|0)+20>>2]=a+1984+b;b=b+1|0}while((b|0)!=25);return}function jc(a){a=a|0;var b=0,d=0;c[a+2160>>2]=0;c[a+2188>>2]=4;c[a+2216>>2]=8;c[a+2244>>2]=12;b=c[a+2984>>2]|0;d=b<<2;c[a+2272>>2]=d;c[a+2300>>2]=d+4;c[a+2328>>2]=d+8;c[a+2356>>2]=d+12;d=b<<3;c[a+2384>>2]=d;c[a+2412>>2]=d|4;c[a+2440>>2]=d+8;c[a+2468>>2]=d+12;d=b*12|0;c[a+2496>>2]=d;c[a+2524>>2]=d+4;c[a+2552>>2]=d+8;c[a+2580>>2]=d+12;c[a+2608>>2]=0;c[a+2720>>2]=0;c[a+2636>>2]=4;c[a+2748>>2]=4;d=c[a+3004>>2]<<2;c[a+2664>>2]=d;c[a+2776>>2]=d;b=d+4|0;c[a+2692>>2]=b;c[a+2804>>2]=b;return}function kc(a,b){a=a|0;b=b|0;var d=0;d=b+a|0;return c[504+(((d|0)>127?127:(d|0)>0?d:0)<<2)>>2]|0}function lc(a,b){a=a|0;b=b|0;var d=0;d=b+a|0;return c[504+(((d|0)>127?127:(d|0)>0?d:0)<<2)>>2]<<1|0}function mc(a,b){a=a|0;b=b|0;var d=0;d=b+a|0;a=c[504+(((d|0)>127?127:(d|0)>0?d:0)<<2)>>2]|0;return ((a|0)<132?a:132)|0}function nc(a){a=a|0;return c[1016+(((a|0)>127?127:(a|0)>0?a:0)<<2)>>2]|0}function oc(a,b){a=a|0;b=b|0;var d=0;d=b+a|0;a=(c[1016+(((d|0)>127?127:(d|0)>0?d:0)<<2)>>2]|0)*101581>>16;return ((a|0)>8?a:8)|0}function pc(a,b){a=a|0;b=b|0;var d=0;d=b+a|0;return c[1016+(((d|0)>127?127:(d|0)>0?d:0)<<2)>>2]|0}function qc(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;j=c[b+2900>>2]|0;k=c[b+2864>>2]|0;l=c[b+3088>>2]|0;m=c[l+4>>2]|0;n=m&65535;o=m>>>16&65535;do if(!(a[l+10>>0]|0)){p=n;q=o}else{r=m>>16;s=c[b+3184>>2]|0;if((r|0)>=(s+-152|0)){t=c[b+3188>>2]|0;if((r|0)>(t+144|0)){u=t+128|0;v=6}else w=o}else{u=s+-128|0;v=6}if((v|0)==6)w=u&65535;s=m<<16>>16;t=c[b+3192>>2]|0;if((s|0)<(t+-152|0))x=t+-128|0;else{t=c[b+3196>>2]|0;if((s|0)<=(t+144|0)){p=n;q=w;break}x=t+128|0}p=x&65535;q=w}while(0);w=p<<16>>16;x=q<<16>>16;n=j+(S(w>>3,k)|0)+(x>>3)|0;if(!(((q&65535)<<16|p&65535)&458759)){p=e;q=n;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));m=n+k|0;u=e+h|0;p=u;q=m;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));v=m+k|0;m=u+h|0;p=m;q=v;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));u=v+k|0;v=m+h|0;p=v;q=u;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));m=u+k|0;u=v+h|0;p=u;q=m;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));v=m+k|0;m=u+h|0;p=m;q=v;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));u=v+k|0;v=m+h|0;p=v;q=u;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));m=u+k|0;u=v+h|0;p=u;q=m;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));v=m+k|0;m=u+h|0;p=m;q=v;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));u=v+k|0;v=m+h|0;p=v;q=u;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));m=u+k|0;u=v+h|0;p=u;q=m;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));v=m+k|0;m=u+h|0;p=m;q=v;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(j|0));u=v+k|0;v=m+h|0;p=v;q=u;j=p+16|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q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|0)+(b[r+12+(u<<2)>>1]|0)|0;r=(((v>>31<<3|4)+v|0)/8|0)&c[g>>2];v=e+2144+((o+n|0)*28|0)+24|0;b[v>>1]=r;w=c[f>>2]|0;x=(b[w+12+(s<<2)+2>>1]|0)+(b[w+12+(q<<2)+2>>1]|0)+(b[w+12+(t<<2)+2>>1]|0)+(b[w+12+(u<<2)+2>>1]|0)|0;u=(((x>>31<<3|4)+x|0)/8|0)&c[g>>2];x=v+2|0;b[x>>1]=u;if(a[w+10>>0]|0){w=u<<16;u=c[h>>2]|0;t=(w>>15|0)<(u+-152|0)?u+-128>>1:w>>16;w=c[i>>2]|0;b[x>>1]=(t<<16>>15|0)>(w+144|0)?(w+128|0)>>>1:t;t=r<<16;r=c[j>>2]|0;w=(t>>15|0)<(r+-152|0)?r+-128>>1:t>>16;t=c[k>>2]|0;b[v>>1]=(w<<16>>15|0)>(t+144|0)?(t+128|0)>>>1:w}c[e+2144+((p+n|0)*28|0)+24>>2]=c[v>>2];n=n+1|0}while((n|0)!=2);l=l+1|0}while((l|0)!=2);l=c[e+3020>>2]|0;g=c[e+2900>>2]|0;n=c[f>>2]|0;p=e+2984|0;a:do if((d[n+8>>0]|0)<3){o=c[p>>2]|0;m=e+2168|0;v=c[n+12>>2]|0;c[m>>2]=v;w=e+2224|0;t=c[n+20>>2]|0;c[w>>2]=t;r=e+2392|0;x=c[n+44>>2]|0;c[r>>2]=x;u=e+2448|0;q=c[n+52>>2]|0;c[u>>2]=q;s=v>>>16&65535;y=v&65535;do if(!(a[n+10>>0]|0)){z=y;A=s}else{B=m+2|0;C=v>>16;D=c[h>>2]|0;E=D+-152|0;if((C|0)>=(E|0)){F=c[i>>2]|0;if((C|0)>(F+144|0)){G=F+128|0;H=16}else I=s}else{G=D+-128|0;H=16}if((H|0)==16){F=G&65535;b[B>>1]=F;I=F}F=v<<16>>16;B=c[j>>2]|0;C=B+-152|0;if((F|0)>=(C|0)){J=c[k>>2]|0;if((F|0)>(J+144|0)){K=J+128|0;H=21}else L=y}else{K=B+-128|0;H=21}if((H|0)==21){J=K&65535;b[m>>1]=J;L=J}J=w+2|0;F=t>>16;if((F|0)>=(E|0)){M=c[i>>2]|0;if((F|0)>(M+144|0)){N=M+128|0;H=26}}else{N=D+-128|0;H=26}if((H|0)==26)b[J>>1]=N;J=t<<16>>16;if((J|0)>=(C|0)){M=c[k>>2]|0;if((J|0)>(M+144|0)){O=M+128|0;H=31}}else{O=B+-128|0;H=31}if((H|0)==31)b[w>>1]=O;M=r+2|0;J=x>>16;if((J|0)>=(E|0)){F=c[i>>2]|0;if((J|0)>(F+144|0)){P=F+128|0;H=36}}else{P=D+-128|0;H=36}if((H|0)==36)b[M>>1]=P;M=x<<16>>16;if((M|0)>=(C|0)){F=c[k>>2]|0;if((M|0)>(F+144|0)){Q=F+128|0;H=41}}else{Q=B+-128|0;H=41}if((H|0)==41)b[r>>1]=Q;F=u+2|0;M=q>>16;if((M|0)>=(E|0)){E=c[i>>2]|0;if((M|0)>(E+144|0)){R=E+128|0;H=46}}else{R=D+-128|0;H=46}if((H|0)==46)b[F>>1]=R;F=q<<16>>16;if((F|0)<(C|0))T=B+-128|0;else{B=c[k>>2]|0;if((F|0)<=(B+144|0)){z=L;A=I;break}T=B+128|0}b[u>>1]=T;z=L;A=I}while(0);q=c[e+2160>>2]|0;x=l+q|0;t=z<<16>>16;m=A<<16>>16;y=g+q+(S(t>>3,o)|0)+(m>>3)|0;if(!((z|A)&7)){q=y;v=q;s=d[v>>0]|d[v+1>>0]<<8|d[v+2>>0]<<16|d[v+3>>0]<<24;v=q+4|0;q=d[v>>0]|d[v+1>>0]<<8|d[v+2>>0]<<16|d[v+3>>0]<<24;v=x;B=v;a[B>>0]=s;a[B+1>>0]=s>>8;a[B+2>>0]=s>>16;a[B+3>>0]=s>>24;s=v+4|0;a[s>>0]=q;a[s+1>>0]=q>>8;a[s+2>>0]=q>>16;a[s+3>>0]=q>>24;q=y+o|0;s=x+o|0;v=q;B=v;F=d[B>>0]|d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y+3>>0]=t>>24;t=B+4|0;a[t>>0]=v;a[t+1>>0]=v>>8;a[t+2>>0]=v>>16;a[t+3>>0]=v>>24;break}else{xa[c[e+3208>>2]&15](m,o,x&7,q&7,s,o);break}}else{s=e+3204|0;q=e+3200|0;x=n;m=0;while(1){v=e+2144+(m*28|0)|0;t=m|1;B=e+2144+(t*28|0)|0;y=c[p>>2]|0;F=e+2144+(m*28|0)+24|0;C=c[x+12+(m<<2)>>2]|0;c[F>>2]=C;D=e+2144+(t*28|0)+24|0;E=c[(c[f>>2]|0)+12+(t<<2)>>2]|0;c[D>>2]=E;M=C>>>16&65535;do if(!(a[(c[f>>2]|0)+10>>0]|0))U=M;else{J=F+2|0;V=C>>16;W=c[h>>2]|0;if((V|0)>=(W+-152|0)){X=c[i>>2]|0;if((V|0)>(X+144|0)){Y=X+128|0;H=69}else Z=M}else{Y=W+-128|0;H=69}if((H|0)==69){H=0;W=Y&65535;b[J>>1]=W;Z=W}W=C<<16>>16;J=c[j>>2]|0;if((W|0)>=(J+-152|0)){X=c[k>>2]|0;if((W|0)>(X+144|0)){_=X+128|0;H=74}}else{_=J+-128|0;H=74}if((H|0)==74){H=0;b[F>>1]=_}J=D+2|0;X=E>>16;W=c[h>>2]|0;if((X|0)>=(W+-152|0)){V=c[i>>2]|0;if((X|0)>(V+144|0)){$=V+128|0;H=79}}else{$=W+-128|0;H=79}if((H|0)==79){H=0;b[J>>1]=$}J=E<<16>>16;W=c[j>>2]|0;if((J|0)<(W+-152|0))aa=W+-128|0;else{W=c[k>>2]|0;if((J|0)<=(W+144|0)){U=Z;break}aa=W+128|0}b[D>>1]=aa;U=Z}while(0);E=c[F>>2]|0;C=c[e+2144+(m*28|0)+16>>2]|0;M=l+C|0;do if((E|0)==(c[D>>2]|0)){W=U<<16>>16;J=g+C+(S(E<<16>>19,y)|0)+(W>>3)|0;if(!((E&65535|U)&7)){V=J;X=V;ba=d[X>>0]|d[X+1>>0]<<8|d[X+2>>0]<<16|d[X+3>>0]<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0]=a[f+q>>0]|0;a[o+5>>0]=a[g+q>>0]|0;q=h*6|0;a[n+6>>0]=a[f+q>>0]|0;a[o+6>>0]=a[g+q>>0]|0;q=h*7|0;a[n+7>>0]=a[f+q>>0]|0;a[o+7>>0]=a[g+q>>0]|0;if(!(p<<24>>24)){r=8588+(c[b+3104>>2]<<4)+(c[b+3100>>2]<<3)+4|0;s=c[r>>2]|0;Aa[s&31](i,k,d,n);Aa[s&31](j,k,e,o);l=m;return}else{r=8620+((p&255)<<3)+4|0;s=c[r>>2]|0;Aa[s&31](i,k,d,n);Aa[s&31](j,k,e,o);l=m;return}}function vc(){if(c[2163]|0)return;c[2157]=1;c[2159]=2;c[2161]=3;c[2147]=4;c[2149]=5;c[2151]=6;c[2153]=7;c[2158]=8;c[2160]=9;c[2162]=10;c[2148]=11;c[2150]=12;c[2152]=13;c[2154]=14;wc();c[2163]=1;return}function wc(){c[2164]=15;c[2165]=16;c[2166]=17;c[2167]=18;c[2168]=19;c[2169]=20;c[2170]=21;c[2171]=22;c[2172]=23;c[2173]=24;return}function xc(b,e,f,g,h,i,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0;k=l;l=l+16|0;m=k+4|0;n=k;o=m+4|0;a[n>>0]=a[e>>0]|0;a[n+1>>0]=a[e+f>>0]|0;a[n+2>>0]=a[e+(f<<1)>>0]|0;a[n+3>>0]=a[e+(f*3|0)>>0]|0;f=b;b=f;e=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24;b=f+4|0;f=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24;b=o;p=b;a[p>>0]=e;a[p+1>>0]=e>>8;a[p+2>>0]=e>>16;a[p+3>>0]=e>>24;e=b+4|0;a[e>>0]=f;a[e+1>>0]=f>>8;a[e+2>>0]=f>>16;a[e+3>>0]=f>>24;a[m+3>>0]=j;Aa[c[8656+(g<<2)>>2]&31](h,i,o,n);l=k;return}function yc(a){a=a|0;var b=0,d=0;je((c[a+52>>2]|0)+-1+(0-(c[a+16>>2]|0))|0,127,(c[a>>2]|0)+5|0)|0;b=a+36|0;d=a+20|0;je((c[a+56>>2]|0)+-1+(0-(c[b>>2]|0))|0,127,(c[d>>2]|0)+5|0)|0;je((c[a+60>>2]|0)+-1+(0-(c[b>>2]|0))|0,127,(c[d>>2]|0)+5|0)|0;return}
function zc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=l;l=l+128|0;e=d;f=(c[b>>2]|0)+(4-1)&~(4-1);g=c[f>>2]|0;c[b>>2]=f+4;if(!g){h=8;l=d;return h|0}f=c[g+28>>2]|0;b=c[g+32>>2]|0;i=(f+1|0)>>>1;j=(b+1|0)>>>1;c[e+52>>2]=c[g+52>>2];c[e+56>>2]=c[g+56>>2];c[e+60>>2]=c[g+60>>2];c[e+8>>2]=f;c[e+12>>2]=b;c[e>>2]=f;c[e+4>>2]=b;c[e+28>>2]=i;c[e+32>>2]=j;c[e+20>>2]=i;c[e+24>>2]=j;j=c[g+68>>2]|0;c[e+16>>2]=j;c[e+36>>2]=c[g+72>>2];c[e+76>>2]=(j-f|0)>>>1;h=Yc(c[a+348>>2]|0,c[g>>2]|0,e)|0;l=d;return h|0}function Ac(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=l;l=l+128|0;e=d;f=(c[b>>2]|0)+(4-1)&~(4-1);g=c[f>>2]|0;c[b>>2]=f+4;if(!g){h=8;l=d;return h|0}f=c[g+28>>2]|0;b=c[g+32>>2]|0;i=(f+1|0)>>>1;j=(b+1|0)>>>1;c[e+52>>2]=c[g+52>>2];c[e+56>>2]=c[g+56>>2];c[e+60>>2]=c[g+60>>2];c[e+8>>2]=f;c[e+12>>2]=b;c[e>>2]=f;c[e+4>>2]=b;c[e+28>>2]=i;c[e+32>>2]=j;c[e+20>>2]=i;c[e+24>>2]=j;j=c[g+68>>2]|0;c[e+16>>2]=j;c[e+36>>2]=c[g+72>>2];c[e+76>>2]=(j-f|0)>>>1;h=Xc(c[a+348>>2]|0,c[g>>2]|0,e)|0;l=d;return h|0}function Bc(a,b){a=a|0;b=b|0;return 4}function Cc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(!e){f=8;return f|0}d=c[a+348>>2]|0;c[e>>2]=(c[d+9152>>2]<<1)+(c[d+9156>>2]<<2)+(c[d+9148>>2]|0);f=0;return f|0}function Dc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;d=c[a+348>>2]|0;if(!((e|0)!=0&(d|0)!=0)){f=8;return f|0}a=c[d+5060>>2]|0;if(!a){f=1;return f|0}c[e>>2]=c[a+112>>2];f=0;return f|0}function Ec(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(!e){f=8;return f|0}d=(c[a+348>>2]|0)+3248|0;a=($c(d,3)|0)!=0;b=($c(d,2)|0)!=0;c[e>>2]=(b?2:0)|(a?4:0)|($c(d,1)|0)!=0;f=0;return f|0}function Fc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(!e){c[a+232>>2]=0;f=0;g=a+236|0;c[g>>2]=f;return 0}else{c[a+232>>2]=c[e>>2];f=c[e+4>>2]|0;g=a+236|0;c[g>>2]=f;return 0}return 0}function Gc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;Sb();sb();Va();b=a+24|0;if(c[b>>2]|0){d=0;return d|0}e=Oa(1,560)|0;if(!e){d=2;return d|0}c[b>>2]=e;c[e+4>>2]=c[a+16>>2];c[e+196>>2]=16;c[e+232>>2]=0;c[e+236>>2]=0;f=a+20|0;a=c[f>>2]|0;if(!a)g=e;else{h=e+184|0;c[h>>2]=c[a>>2];c[h+4>>2]=c[a+4>>2];c[h+8>>2]=c[a+8>>2];c[f>>2]=h;g=c[b>>2]|0}c[g+484>>2]=0;c[g+480>>2]=c[g+4>>2]&262144;d=0;return d|0}function Hc(a){a=a|0;cd(a+348|0)|0;Pa(a);return 0}function Ic(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;if((e|0)<1){g=8;return g|0}h=f+12|0;c[h>>2]=0;if(e>>>0<=9){g=5;return g|0}if(a[b>>0]&1){g=5;return g|0}c[h>>2]=1;if((a[b+3>>0]|0)!=-99){g=5;return g|0}if((a[b+4>>0]|0)!=1){g=5;return g|0}if((a[b+5>>0]|0)!=42){g=5;return g|0}h=d[b+7>>0]<<8&16128|d[b+6>>0];c[f+4>>2]=h;e=d[b+9>>0]<<8&16128|d[b+8>>0];c[f+8>>2]=e;g=(h|0)==0|(e|0)==0?7:0;return g|0}function Jc(a,b){a=a|0;b=b|0;var d=0;d=a+196|0;c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b>>2]=16;return 0}function Kc(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,ba=0,ca=0,da=0,ea=0,ia=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0;i=l;l=l+64|0;j=i+16|0;k=i+8|0;m=i;n=4;q=be(40)|0;c[q>>2]=0;r=i+48|0;s=i+24|0;t=b+480|0;u=c[t>>2]|0;v=(e|0)==0;if(v&(u|f|0)==0){w=0;ce(q|0);l=i;return w|0}x=b+484|0;y=c[x>>2]|0;if(!y){z=b+488|0;A=z+72|0;do{c[z>>2]=0;z=z+4|0}while((z|0)<(A|0))}B=(u|0)!=0;if(!(v&(f|0)==0|B^1)){c[b+488+(y<<2)>>2]=e;c[b+524+(c[x>>2]<<2)>>2]=f;y=(c[x>>2]|0)+1|0;v=y>>>0>9;c[x>>2]=v?0:y;ce(q|0);l=i;return (v?8:0)|0}v=b+488|0;if(B){C=c[v>>2]|0;E=c[b+524>>2]|0}else{c[v>>2]=e;c[b+524>>2]=f;c[x>>2]=1;C=e;E=f}v=b+200|0;B=c[v>>2]|0;y=b+204|0;u=c[y>>2]|0;F=b+232|0;G=c[F>>2]|0;H=b+236|0;I=c[H>>2]|0;do if((E|0)<1){J=8;K=21}else{if(!G)L=C;else{o=0;ha(G|0,I|0,C|0,r|0,(E>>>0<10?E:10)|0);M=o;o=0;if((M|0)!=0&(p|0)!=0){N=ne(c[M>>2]|0,q|0,n|0)|0;if(!N)ja(M|0,p|0);D=p}else N=-1;if((N|0)==1){O=D;P=0;Q=0;R=0;S=0;T=0;U=0;break}L=r}M=b+208|0;c[M>>2]=0;if(E>>>0>9?(a[L>>0]&1)==0:0){c[M>>2]=1;if(((a[L+3>>0]|0)==-99?(a[L+4>>0]|0)==1:0)?(a[L+5>>0]|0)==42:0){M=d[L+7>>0]<<8&16128|d[L+6>>0];c[v>>2]=M;V=d[L+9>>0]<<8&16128|d[L+8>>0];c[y>>2]=V;J=(M|0)==0|(V|0)==0?7:0;K=21;break}J=5;K=21;break}J=0;K=21}while(0);do if((K|0)==21){L=b+212|0;E=c[L>>2]|0;r=(E|0)==0;if(r)W=(c[b+208>>2]|0)==0?5:J;else W=J;N=c[y>>2]|0;if((N|0)==(u|0)?(c[v>>2]|0)==(B|0):0)X=0;else X=1;if(!W)if(r){c[s>>2]=c[v>>2];c[s+4>>2]=N;c[s+8>>2]=9;c[s+12>>2]=0;c[s+16>>2]=c[b+184>>2];N=c[b+4>>2]|0;c[s+20>>2]=N&131072;if(!((c[b+216>>2]|0)!=0|(N&65536|0)==0)){c[b+220>>2]=1027;c[b+224>>2]=4;c[b+228>>2]=0}o=0;N=fa(11,b+348|0,s|0)|0;r=o;o=0;if((r|0)!=0&(p|0)!=0){Y=ne(c[r>>2]|0,q|0,n|0)|0;if(!Y)ja(r|0,p|0);D=p}else Y=-1;if((Y|0)==1){O=D;P=0;Q=0;R=0;S=0;T=0;U=0;break}if(!N){c[L>>2]=1;Z=1}else Z=c[L>>2]|0;_=Z;ba=N;K=35}else{ca=0;K=36}else{_=E;ba=W;K=35}if((K|0)==35)if(!_)da=ba;else{ca=ba;K=36}if((K|0)==36){E=b+348|0;c[(c[E>>2]|0)+11852>>2]=c[F>>2];c[(c[E>>2]|0)+11856>>2]=c[H>>2];da=ca}if(da|0){w=da;ce(q|0);l=i;return w|0}E=c[b+348>>2]|0;if(X){N=E+3248|0;L=E+5040|0;c[L>>2]=c[v>>2];r=E+5044|0;c[r>>2]=c[y>>2];q=me(E+3340|0,1,q|0,n|0)|0;n=D;o=0;C=o;o=0;if((C|0)!=0&(p|0)!=0){ea=ne(c[C>>2]|0,q|0,n|0)|0;if(!ea)ja(C|0,p|0);D=p}else ea=-1;if((ea|0)==1){O=D;P=E;Q=r;R=L;S=N;T=N;U=E}else{O=0;P=E;Q=r;R=L;S=N;T=N;U=E}}else{ia=E;ka=0;la=0;ma=0;na=0;oa=0;K=54}}while(0);while(1){if((K|0)==54){K=0;z=ia+11732|0;pa=t;A=z+80|0;do{c[z>>2]=c[pa>>2];z=z+4|0;pa=pa+4|0}while((z|0)<(A|0));c[b+476>>2]=g;o=0;qa=ga(2,ia|0,f|0,e|0,h|0,((h|0)<0)<<31>>31|0)|0;ea=o;o=0;if((ea|0)!=0&(p|0)!=0){ra=ne(c[ea>>2]|0,q|0,n|0)|0;if(!ra)ja(ea|0,p|0);D=p}else ra=-1;if((ra|0)==1){O=D;P=ia;Q=ka;R=la;S=ma;T=na;U=oa}else break}sa=P+3336|0;if(O|0){K=59;break}c[sa>>2]=1;if((c[R>>2]|0)<1){c[R>>2]=B;o=0;ha(25,T|0,7,5453,m|0);ea=o;o=0;if((ea|0)!=0&(p|0)!=0){ta=ne(c[ea>>2]|0,q|0,n|0)|0;if(!ta)ja(ea|0,p|0);D=p}else ta=-1;if((ta|0)==1){ua=U;va=T;wa=S;xa=R;ya=Q;za=P;O=D;U=ua;T=va;S=wa;R=xa;Q=ya;P=za;continue}}ea=c[Q>>2]|0;if((ea|0)<1){c[Q>>2]=u;o=0;ha(25,T|0,7,5473,k|0);X=o;o=0;if((X|0)!=0&(p|0)!=0){Aa=ne(c[X>>2]|0,q|0,n|0)|0;if(!Aa)ja(X|0,p|0);D=p}else Aa=-1;if((Aa|0)==1){ua=U;va=T;wa=S;xa=R;ya=Q;za=P;O=D;U=ua;T=va;S=wa;R=xa;Q=ya;P=za;continue}Ba=c[Q>>2]|0}else Ba=ea;o=0;ea=$(5,S|0,c[R>>2]|0,Ba|0)|0;X=o;o=0;if((X|0)!=0&(p|0)!=0){Ca=ne(c[X>>2]|0,q|0,n|0)|0;if(!Ca)ja(X|0,p|0);D=p}else Ca=-1;if((Ca|0)==1){ua=U;va=T;wa=S;xa=R;ya=Q;za=P;O=D;U=ua;T=va;S=wa;R=xa;Q=ya;P=za;continue}if(ea|0){o=0;ha(25,T|0,2,5494,j|0);ea=o;o=0;if((ea|0)!=0&(p|0)!=0){Da=ne(c[ea>>2]|0,q|0,n|0)|0;if(!Da)ja(ea|0,p|0);D=p}else Da=-1;if((Da|0)==1){ua=U;va=T;wa=S;xa=R;ya=Q;za=P;O=D;U=ua;T=va;S=wa;R=xa;Q=ya;P=za;continue}}z=P+2848|0;pa=P+5064+((c[P+5564>>2]|0)*120|0)|0;A=z+120|0;do{c[z>>2]=c[pa>>2];z=z+4|0;pa=pa+4|0}while((z|0)<(A|0));z=P+2968|0;pa=P+5064+((c[P+5560>>2]|0)*120|0)|0;A=z+120|0;do{c[z>>2]=c[pa>>2];z=z+4|0;pa=pa+4|0}while((z|0)<(A|0));o=0;aa(1,U|0);ea=o;o=0;if((ea|0)!=0&(p|0)!=0){Ea=ne(c[ea>>2]|0,q|0,n|0)|0;if(!Ea)ja(ea|0,p|0);D=p}else Ea=-1;if((Ea|0)==1){ua=U;va=T;wa=S;xa=R;ya=Q;za=P;O=D;U=ua;T=va;S=wa;R=xa;Q=ya;P=za;continue}c[sa>>2]=0;c[P+5544>>2]=0;ia=P;ka=Q;la=R;ma=S;na=T;oa=U;K=54}if((K|0)==59){c[sa>>2]=0;c[v>>2]=0;c[y>>2]=0;w=-1;ce(q|0);l=i;return w|0}if((qa|0)!=0?(qa=c[ia+3248>>2]|0,(qa|0)!=0):0){c[b>>2]=c[ia+3252>>2]|0?ia+3256|0:0;Fa=qa}else Fa=0;c[x>>2]=0;w=Fa;ce(q|0);l=i;return w|0}function Lc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;d=l;l=l+176|0;e=d+48|0;f=d+8|0;g=d;h=d+16|0;if(c[b>>2]|0){i=0;l=d;return i|0}j=c[a+348>>2]|0;if(!j){i=0;l=d;return i|0}k=f;c[k>>2]=0;c[k+4>>2]=0;k=g;c[k>>2]=0;c[k+4>>2]=0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;c[h+24>>2]=0;if(c[a+4>>2]&65536|0){c[h>>2]=c[a+220>>2];c[h+4>>2]=c[a+224>>2];c[h+8>>2]=c[a+228>>2]}if(!(_c(j,e,f,g,h)|0)){h=a+240|0;g=c[a+476>>2]|0;c[h>>2]=258;f=c[e+16>>2]|0;c[a+252>>2]=f;j=c[e+4>>2]|0;c[a+256>>2]=j+79&-16;k=c[e>>2]|0;c[a+272>>2]=k;c[a+264>>2]=k;c[a+276>>2]=j;c[a+268>>2]=j;c[a+280>>2]=1;c[a+284>>2]=1;c[a+288>>2]=c[e+52>>2];c[a+292>>2]=c[e+56>>2];c[a+296>>2]=c[e+60>>2];c[a+300>>2]=0;c[a+304>>2]=f;j=c[e+36>>2]|0;c[a+308>>2]=j;c[a+312>>2]=j;c[a+316>>2]=f;c[a+260>>2]=8;c[a+320>>2]=12;c[a+324>>2]=g;c[a+328>>2]=c[e+68>>2];c[a+332>>2]=0;c[a+336>>2]=0;c[b>>2]=h;m=h}else m=0;i=m;l=d;return i|0}function Mc(){return 1592}function Nc(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;h=l;l=l+16|0;i=h;c[a>>2]=b+e;j=a+4|0;c[j>>2]=b;k=a+8|0;c[k>>2]=0;m=a+12|0;c[m>>2]=-8;c[a+16>>2]=255;c[a+20>>2]=f;c[a+24>>2]=g;if(!((b|0)!=0|(e|0)==0)){n=1;l=h;return n|0}a=e<<3;o=32-a|0;if(!f)p=b;else{Aa[f&31](g,b,i,e>>>0<5?e:5);p=i}i=(o|0)>-1;e=o>>31&-1073741824|1073741816;b=i?o:0;if((a|0)==0&i|(b|0)>24){q=e;r=0}else{i=c[j>>2]|0;a=p;p=e;e=24;o=0;while(1){g=p+8|0;f=(d[a>>0]|0)<<e|o;i=i+1|0;c[j>>2]=i;e=e+-8|0;if((e|0)<(b|0)){q=g;r=f;break}else{a=a+1|0;p=g;o=f}}}c[k>>2]=r;c[m>>2]=q;n=0;l=h;return n|0}function Oc(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;b=l;l=l+16|0;e=b;f=a+4|0;g=c[f>>2]|0;h=a+8|0;i=c[h>>2]|0;j=a+12|0;k=c[j>>2]|0;m=16-k|0;n=(c[a>>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>2]|0)){ea=c[ia>>2]|0;a[X+2>>0]=0;ca=c[m>>2]|0;da=c[o>>2]|0;fa=0;do{u=fa<<24>>24;Y=((S(d[4292+(u>>1)>>0]|0,ca+-1|0)|0)>>>8)+1|0;if((da|0)<0){Oc(k);eb=c[o>>2]|0}else eb=da;$=c[p>>2]|0;r=Y<<24;if($>>>0<r>>>0){fb=0;gb=Y;hb=$}else{fb=1;gb=(c[m>>2]|0)-Y|0;hb=$-r|0}r=d[16+gb>>0]|0;ca=gb<<r;da=eb-r|0;c[p>>2]=hb<<r;c[o>>2]=da;c[m>>2]=ca;fa=a[5237+(fb+u)>>0]|0}while(fa<<24>>24>0);u=0-(fa<<24>>24)|0;a[X>>0]=u;if((u&255|0)==4){a[_>>0]=1;u=X+-76|0;r=0-ea|0;$=X+(r*76|0)|0;Y=0;do{a:do if(Y>>>0>3)ib=c[X+12+(Y<<2)+-16>>2]|0;else switch(a[$>>0]|0){case 4:{ib=c[X+(r*76|0)+12+(Y<<2)+48>>2]|0;break a;break}case 3:{ib=1;break a;break}case 1:{ib=2;break a;break}case 2:{ib=3;break a;break}default:{ib=0;break a}}while(0);b:do if(!(Y&3))switch(a[u>>0]|0){case 4:{jb=c[X+-64+(Y<<2)+12>>2]|0;break b;break}case 3:{jb=1;break b;break}case 1:{jb=2;break b;break}case 2:{jb=3;break b;break}default:{jb=0;break b}}else jb=c[X+12+(Y<<2)+-4>>2]|0;while(0);U=c[m>>2]|0;w=c[o>>2]|0;y=0;do{T=y<<24>>24;W=((S(d[(T>>1)+(4311+(ib*90|0)+(jb*9|0))>>0]|0,U+-1|0)|0)>>>8)+1|0;if((w|0)<0){Oc(k);kb=c[o>>2]|0}else kb=w;V=c[p>>2]|0;R=W<<24;if(V>>>0<R>>>0){lb=0;mb=W;nb=V}else{lb=1;mb=(c[m>>2]|0)-W|0;nb=V-R|0}R=d[16+mb>>0]|0;U=mb<<R;w=kb-R|0;c[p>>2]=nb<<R;c[o>>2]=w;c[m>>2]=U;y=a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>>0]|0;ca=sc<<R;da=tc<<R;w=qc-R|0;c[p>>2]=da;c[o>>2]=w;c[m>>2]=ca;if(rc){a[X>>0]=5;R=X+4|0;c[R>>2]=oc;y=R+2|0;W=oc>>16;N=(c[Da>>2]|0)+-128|0;if((W|0)>=(N|0)){Q=(c[Ca>>2]|0)+128|0;if((W|0)>(Q|0)){uc=Q;vc=256}}else{uc=N;vc=256}if((vc|0)==256){vc=0;b[y>>1]=uc}y=oc<<16>>16;N=(c[ka>>2]|0)+-128|0;if((y|0)>=(N|0)){Q=(c[Ha>>2]|0)+128|0;if((y|0)>(Q|0))wc=Q;else break}else wc=N;b[R>>1]=wc;break}R=((S(c[408+(nc<<4)+8>>2]|0,ca+-1|0)|0)>>>8)+1|0;if((w|0)<0){Oc(k);xc=c[p>>2]|0;yc=c[o>>2]|0}else{xc=da;yc=w}w=R<<24;if(xc>>>0<w>>>0){zc=1;Ac=R;Bc=xc}else{zc=0;Ac=(c[m>>2]|0)-R|0;Bc=xc-w|0}w=d[16+Ac>>0]|0;R=Ac<<w;da=Bc<<w;ca=yc-w|0;c[p>>2]=da;c[o>>2]=ca;c[m>>2]=R;if(zc){a[X>>0]=6;w=c[aa>>2]|0;N=X+4|0;c[N>>2]=w;Q=N+2|0;y=w>>16;W=(c[Da>>2]|0)+-128|0;if((y|0)>=(W|0)){O=(c[Ca>>2]|0)+128|0;if((y|0)>(O|0)){Cc=O;vc=250}}else{Cc=W;vc=250}if((vc|0)==250){vc=0;b[Q>>1]=Cc}Q=w<<16>>16;w=(c[ka>>2]|0)+-128|0;if((Q|0)>=(w|0)){W=(c[Ha>>2]|0)+128|0;if((Q|0)>(W|0))Dc=W;else break}else Dc=w;b[N>>1]=Dc;break}N=(c[ka>>2]|0)+-128|0;w=(c[Ha>>2]|0)+128|0;W=(c[Ca>>2]|0)+128|0;Q=(c[Da>>2]|0)+-128|0;O=i+(((mc|0)>=(U|0)&1)<<2)|0;y=O+2|0;P=b[y>>1]|0;M=P<<16>>16;if((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>2]=n;c[m>>2]=K;do if(hd){kd=J&65535;ld=J>>>16&65535}else{H=((S(d[5527+(y*3|0)+1>>0]|0,K+-1|0)|0)>>>8)+1|0;if((n|0)<0){Oc(k);md=c[p>>2]|0;nd=c[o>>2]|0}else{md=R;nd=n}E=H<<24;if(md>>>0<E>>>0){od=1;pd=H;qd=md}else{od=0;pd=(c[m>>2]|0)-H|0;qd=md-E|0}E=d[16+pd>>0]|0;H=pd<<E;v=qd<<E;B=nd-E|0;c[p>>2]=v;c[o>>2]=B;c[m>>2]=H;if(od){kd=I&65535;ld=I>>>16&65535;break}E=((S(d[5527+(y*3|0)+2>>0]|0,H+-1|0)|0)>>>8)+1|0;if((B|0)<0){Oc(k);rd=c[p>>2]|0;sd=c[o>>2]|0}else{rd=v;sd=B}B=E<<24;if(rd>>>0<B>>>0){td=1;ud=E;vd=rd}else{td=0;ud=(c[m>>2]|0)-E|0;vd=rd-B|0}B=d[16+ud>>0]|0;c[p>>2]=vd<<B;c[o>>2]=sd-B;c[m>>2]=ud<<B;if(td){kd=0;ld=0;break}B=((Qc(k,ua)|0)<<1)+ca&65535;kd=B;ld=((Qc(k,ra)|0)<<1)+O&65535}while(0);y=ld<<16>>16;I=kd<<16>>16;a[ea>>0]=((I|0)>(w|0)|((y|0)<(Q|0)|(y|0)>(W|0)|(I|0)<(N|0)))&1|d[ea>>0];I=d[L>>0]|0;y=(ld&65535)<<16|kd&65535;n=I;R=(S(I,V)|0)+(5555+(Vc<<4))|0;while(1){c[X+12+(d[R>>0]<<2)>>2]=y;n=n+-1|0;if(!n)break;else R=R+1|0}V=V+1|0}while((V|0)<(Uc|0));a[X+8>>0]=Vc;c[X+4>>2]=c[X+72>>2];a[X>>0]=9;a[_>>0]=1}while(0)}while(0);c[Da>>2]=(c[Da>>2]|0)+-128;c[Ca>>2]=(c[Ca>>2]|0)+-128;X=X+76|0;j=j+1|0;wd=c[Ea>>2]|0}while((j|0)<(wd|0));xd=c[ka>>2]|0;yd=c[Ha>>2]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>>8)+1|0;if((s|0)<0){Oc(b);$=c[i>>2]|0;aa=c[h>>2]|0}else{$=r;aa=s}q=v<<24;if($>>>0<q>>>0){ba=1;ca=v;da=$}else{ba=0;ca=(c[f>>2]|0)-v|0;da=$-q|0}q=d[16+ca>>0]|0;v=ca<<q;p=da<<q;g=aa-q|0;c[i>>2]=p;c[h>>2]=g;c[f>>2]=v;if(ba){z=v;A=g;B=p;C=T;break}else{ea=p;fa=g;ga=v}}else{ea=r;fa=s;ga=l}z=ga;A=fa;B=ea;C=T+8|0}while(0);if(!C)return 0;ea=((S(z+-1|0,d[e+1>>0]|0)|0)>>>8)+1|0;if((A|0)<0){Oc(b);ha=c[i>>2]|0;ia=c[h>>2]|0}else{ha=B;ia=A}A=ea<<24;if(ha>>>0<A>>>0){ja=1;ka=ea;la=ha;ma=16+ka|0;na=a[ma>>0]|0;oa=na&255;pa=ka<<oa;qa=la<<oa;ra=ia-oa|0;c[i>>2]=qa;c[h>>2]=ra;c[f>>2]=pa;sa=0-C|0;ta=ja?C:sa;return ta|0}ja=0;ka=(c[f>>2]|0)-ea|0;la=ha-A|0;ma=16+ka|0;na=a[ma>>0]|0;oa=na&255;pa=ka<<oa;qa=la<<oa;ra=ia-oa|0;c[i>>2]=qa;c[h>>2]=ra;c[f>>2]=pa;sa=0-C|0;ta=ja?C:sa;return ta|0}function Rc(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=a+5748|0;e=a+5752|0;f=a+5760|0;g=a+5756|0;h=a+5764|0;i=0;do{b[a+3504+(i<<2)>>1]=kc(i,c[d>>2]|0)|0;b[a+4016+(i<<2)>>1]=lc(i,c[e>>2]|0)|0;b[a+4528+(i<<2)>>1]=mc(i,c[f>>2]|0)|0;b[a+3504+(i<<2)+2>>1]=nc(i)|0;b[a+4016+(i<<2)+2>>1]=oc(i,c[g>>2]|0)|0;b[a+4528+(i<<2)+2>>1]=pc(i,c[h>>2]|0)|0;i=i+1|0}while((i|0)!=128);return}function Sc(e){e=e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=q;break}Ma(u,5,5683,o);L=c[K>>2]|0}else L=q;while(0);if((y|0)>9|(L|0)==0){L=I+7|0;c[e+5040>>2]=d[L>>0]<<8&16128|d[I+6>>0];c[e+5048>>2]=(d[L>>0]|0)>>>6;L=I+9|0;c[e+5044>>2]=d[L>>0]<<8&16128|d[I+8>>0];c[e+5052>>2]=(d[L>>0]|0)>>>6}M=w+10|0}else{L=w+3|0;N=e+2848|0;O=C;P=N+120|0;do{c[N>>2]=c[O>>2];N=N+4|0;O=O+4|0}while((N|0)<(P|0));N=e+2968|0;O=C;P=N+120|0;do{c[N>>2]=c[O>>2];N=N+4|0;O=O+4|0}while((N|0)<(P|0));M=L}G=M;H=J}J=e+11840|0;M=e+5700|0;L=c[M>>2]|0;C=(L|0)==0;if(!(c[J>>2]|0))if(C)Q=23;else{R=-1;l=f;return R|0}else if(!C){C=(c[e+5736>>2]|0)==0;c[e+3200>>2]=C?1:2;c[e+3204>>2]=C?3:4;c[e+3208>>2]=C?5:6;c[e+3212>>2]=C?7:8;if((c[e+11832>>2]|0)!=0?(C=e+11836|0,(c[C>>2]|0)==0):0){c[C>>2]=1;T=L}else T=L}else Q=23;if((Q|0)==23){N=e+11389|0;O=5306;P=N+38|0;do{a[N>>0]=a[O>>0]|0;N=N+1|0;O=O+1|0}while((N|0)<(P|0));Ab(u);zb(u);O=e+3155|0;L=O;a[L>>0]=0;a[L+1>>0]=0;a[L+2>>0]=0;a[L+3>>0]=0;L=O+4|0;a[L>>0]=0;a[L+1>>0]=0;a[L+2>>0]=0;a[L+3>>0]=0;a[e+3151>>0]=0;L=e+3169|0;a[L>>0]=0;a[L+1>>0]=0;a[L+2>>0]=0;a[L+3>>0]=0;L=e+3177|0;a[L>>0]=0;a[L+1>>0]=0;a[L+2>>0]=0;a[L+3>>0]=0;c[e+9152>>2]=1;c[e+9156>>2]=1;c[e+9160>>2]=0;c[e+9164>>2]=0;c[e+9180>>2]=0;c[e+9184>>2]=0;T=c[M>>2]|0}L=e+3144|0;c[L>>2]=e+9192;O=c[e+5772>>2]|0;C=e+3088|0;c[C>>2]=O;c[e+3096>>2]=T;a[O>>0]=0;c[e+3092>>2]=c[e+5724>>2];c[D>>2]=0;c[e+2844>>2]=(c[e+5740>>2]|0)==0?-1:-8;O=e+11852|0;T=e+11856|0;if(Nc(t,G,F-G|0,c[O>>2]|0,c[T>>2]|0)|0)Ma(u,2,5707,n);n=e+11696|0;F=c[n>>2]|0;if(!(c[M>>2]|0)){w=(((F<<7)+-128|0)>>>8)+1|0;I=e+11692|0;y=c[I>>2]|0;if((y|0)<0){Oc(t);U=c[I>>2]|0}else U=y;y=e+11688|0;q=c[y>>2]|0;K=w<<24;if(q>>>0<K>>>0){V=w;W=q}else{V=(c[n>>2]|0)-w|0;W=q-K|0}K=d[16+V>>0]|0;q=V<<K;V=W<<K;W=U-K|0;c[y>>2]=V;c[I>>2]=W;c[n>>2]=q;K=(((q<<7)+-128|0)>>>8)+1|0;if((W|0)<0){Oc(t);X=c[y>>2]|0;Y=c[I>>2]|0}else{X=V;Y=W}W=K<<24;if(X>>>0<W>>>0){Z=0;_=K;$=X}else{Z=1;_=(c[n>>2]|0)-K|0;$=X-W|0}W=d[16+_>>0]|0;X=_<<W;_=Y-W|0;c[y>>2]=$<<W;c[I>>2]=_;c[n>>2]=X;c[e+5056>>2]=Z;aa=X;ba=_;ca=I}else{I=e+11692|0;aa=F;ba=c[I>>2]|0;ca=I}I=(((aa<<7)+-128|0)>>>8)+1|0;if((ba|0)<0){Oc(t);da=c[ca>>2]|0}else da=ba;ba=e+11688|0;aa=c[ba>>2]|0;F=I<<24;if(aa>>>0<F>>>0){ea=0;fa=I;ga=aa}else{ea=1;fa=(c[n>>2]|0)-I|0;ga=aa-F|0}F=d[16+fa>>0]|0;aa=fa<<F;fa=ga<<F;ga=da-F|0;c[ba>>2]=fa;c[ca>>2]=ga;c[n>>2]=aa;F=e+3148|0;a[F>>0]=ea;if(ea<<24>>24){ea=(((aa<<7)+-128|0)>>>8)+1|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else{xa=0;ya=(c[n>>2]|0)-sa|0;za=va-ra|0}ra=d[16+ya>>0]|0;va=ya<<ra;sa=za<<ra;oa=wa-ra|0;c[ba>>2]=sa;c[ca>>2]=oa;c[n>>2]=va;do if(xa){Ba=e+3155+(qa<<2)+ua|0;Ca=0;Q=78}else{ra=c[ta>>2]|0;if((ra|0)>0){pa=sa;ma=va;la=oa;na=ra;ra=0;while(1){ja=na;na=na+-1|0;ka=(((ma<<7)+-128|0)>>>8)+1|0;if((la|0)<0){Oc(t);Da=c[ba>>2]|0;Ea=c[ca>>2]|0}else{Da=pa;Ea=la}ha=ka<<24;if(Da>>>0<ha>>>0){Fa=0;Ga=ka;Ha=Da}else{Fa=1;Ga=(c[n>>2]|0)-ka|0;Ha=Da-ha|0}ha=d[16+Ga>>0]|0;ma=Ga<<ha;pa=Ha<<ha;la=Ea-ha|0;c[ba>>2]=pa;c[ca>>2]=la;c[n>>2]=ma;ha=Fa<<na|ra;if((ja|0)<=1){Ia=ha;break}else ra=ha}}else Ia=0;ra=e+3155+(qa<<2)+ua|0;a[ra>>0]=Ia;na=(((c[n>>2]<<7)+-128|0)>>>8)+1|0;ma=c[ca>>2]|0;if((ma|0)<0){Oc(t);Ja=c[ca>>2]|0}else Ja=ma;ma=c[ba>>2]|0;la=na<<24;if(ma>>>0<la>>>0){Ka=1;La=na;Na=ma}else{Ka=0;La=(c[n>>2]|0)-na|0;Na=ma-la|0}la=d[16+La>>0]|0;c[ba>>2]=Na<<la;c[ca>>2]=Ja-la;c[n>>2]=La<<la;if(Ka)break;Ba=ra;Ca=0-(d[ra>>0]|0)&255;Q=78}while(0);if((Q|0)==78){Q=0;a[Ba>>0]=Ca}ua=ua+1|0}while((ua|0)!=4);qa=qa+1|0}while((qa|0)!=2)}if(a[ga>>0]|0){ga=e+3152|0;b[ga>>1]=65535;a[ga+2>>0]=255;ga=0;do{qa=(((c[n>>2]<<7)+-128|0)>>>8)+1|0;Ca=c[ca>>2]|0;if((Ca|0)<0){Oc(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<bh;ng=Ih<<bh;ih=Fh-bh|0;c[ba>>2]=ng;c[ca>>2]=ih;c[n>>2]=hh;vb=Gh<<lh|vb}while((eh|0)>1);a[oh>>0]=vb}mh=mh+1|0}while((mh|0)!=11)}jh=jh+1|0}while((jh|0)!=3);nh=nh+1|0}while((nh|0)!=8);kh=kh+1|0}while((kh|0)!=4);kh=e+384|0;je(kh|0,0,800)|0;Pc(e);Gh=e+9188|0;n=e+5720|0;je(c[Gh>>2]|0,0,(c[n>>2]|0)*9|0)|0;c[e+11848>>2]=0;ba=c[C>>2]|0;Fh=c[G>>2]|0;G=c[B>>2]|0;B=G+16|0;Ih=c[B>>2]|0;Hh=G+36|0;Eh=c[Hh>>2]|0;c[s>>2]=0;t=c[e+3236>>2]|0;c[r+12>>2]=c[t+52>>2];c[r+16>>2]=c[t+56>>2];c[r+20>>2]=c[t+60>>2];c[s+4>>2]=c[t+112>>2];t=c[e+3240>>2]|0;c[r+24>>2]=c[t+52>>2];c[r+28>>2]=c[t+56>>2];c[r+32>>2]=c[t+60>>2];c[s+8>>2]=c[t+112>>2];t=c[e+3244>>2]|0;c[r+36>>2]=c[t+52>>2];c[r+40>>2]=c[t+56>>2];c[r+44>>2]=c[t+60>>2];c[s+12>>2]=c[t+112>>2];t=1<<Fh;Fh=G+52|0;Bh=c[Fh>>2]|0;Ah=G+56|0;Dh=c[Ah>>2]|0;Ch=G+60|0;uh=c[Ch>>2]|0;xh=e+3100|0;c[xh>>2]=0;wh=c[Za>>2]|0;if(wh|0)Ub(u,e,wh);yc(G);wh=e+5716|0;if((c[wh>>2]|0)>0){zh=(t|0)>1;yh=Ih<<4;vh=Eh<<3;rh=e+3140|0;qh=e+3104|0;th=e+3192|0;sh=e+3196|0;nh=e+3108|0;sc=e+3112|0;jh=e+3116|0;vc=e+3120|0;mh=e+3124|0;lh=e+3128|0;hh=e+2984|0;ih=e+3004|0;ng=e+3132|0;ph=e+3136|0;gh=e+3020|0;eh=e+3024|0;bh=e+3028|0;dh=e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i,ci)|0)|0;ci=0;while(1){oe($h|0,ai|0,gi|0)|0;ci=ci+1|0;if((ci|0)==(hi|0))break;else $h=$h+gi|0}}gi=c[Hh>>2]|0;$h=hi>>>1;hi=0-$h|0;ci=(c[Ah>>2]|0)+hi|0;ai=S(gi,hi)|0;if($h|0){Ih=ci+ai|0;_h=0;while(1){oe(Ih|0,ci|0,gi|0)|0;_h=_h+1|0;if((_h|0)==($h|0))break;else Ih=Ih+gi|0}Ih=(c[Ch>>2]|0)+hi|0;hi=Ih+ai|0;ai=0;while(1){oe(hi|0,Ih|0,gi|0)|0;ai=ai+1|0;if((ai|0)==($h|0))break;else hi=hi+gi|0}}gi=c[ii>>2]|0;ii=c[B>>2]|0;B=(c[Fh>>2]|0)+(0-gi)+(S(c[G+4>>2]|0,ii)|0)+(0-ii)|0;if((gi|0)>0){Fh=B;hi=0;do{Fh=Fh+ii|0;oe(Fh|0,B|0,ii|0)|0;hi=hi+1|0}while((hi|0)!=(gi|0))}hi=c[Hh>>2]|0;Hh=gi>>>1;gi=0-Hh|0;ii=S(c[G+24>>2]|0,hi)|0;G=0-hi|0;B=(c[Ah>>2]|0)+gi+ii+G|0;if(Hh|0){Ah=B;Fh=0;do{Ah=Ah+hi|0;oe(Ah|0,B|0,hi|0)|0;Fh=Fh+1|0}while((Fh|0)!=(Hh|0));Fh=(c[Ch>>2]|0)+gi+ii+G|0;G=Fh;ii=0;do{G=G+hi|0;oe(G|0,Fh|0,hi|0)|0;ii=ii+1|0}while((ii|0)!=(Hh|0))}Hh=((c[ca>>2]|0)+-33|0)>>>0<1073741791|c[D>>2];c[E>>2]=Hh;do if(!(c[J>>2]|0))if(!(c[M>>2]|Hh)){c[J>>2]=1;break}else{Ma(u,7,5854,g);break}while(0);if(c[mg>>2]|0){R=0;l=f;return R|0}oe(e+10314|0,e+9201|0,1113)|0;c[z>>2]=A;R=0;l=f;return R|0}function Tc(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=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b=0,hb=0,ib=0,jb=0,kb=0;j=f+(h*33|0)+(g*11|0)|0;g=e+16|0;k=((S((c[g>>2]|0)+-1|0,d[j>>0]|0)|0)>>>8)+1|0;l=e+12|0;m=c[l>>2]|0;if((m|0)<0){Oc(e);n=c[l>>2]|0}else n=m;m=e+8|0;o=c[m>>2]|0;p=k<<24;if(o>>>0<p>>>0){q=1;r=k;s=o}else{q=0;r=(c[g>>2]|0)-k|0;s=o-p|0}p=d[16+r>>0]|0;o=r<<p;r=s<<p;s=n-p|0;c[m>>2]=r;c[l>>2]=s;c[g>>2]=o;if(q){t=0;return t|0}else{u=o;v=s;w=r;x=h;y=j}while(1){j=x+1|0;h=((S(u+-1|0,d[y+1>>0]|0)|0)>>>8)+1|0;if((v|0)<0){Oc(e);z=c[m>>2]|0;A=c[l>>2]|0}else{z=w;A=v}r=h<<24;if(z>>>0<r>>>0){B=1;C=h;D=z}else{B=0;C=(c[g>>2]|0)-h|0;D=z-r|0}r=d[16+C>>0]|0;h=C<<r;s=D<<r;o=A-r|0;c[m>>2]=s;c[l>>2]=o;c[g>>2]=h;if(B)if((j|0)==16){t=16;E=82;break}else{u=h;v=o;w=s;x=j;y=f+((d[5900+j>>0]|0)*33|0)|0;continue}r=((S(d[y+2>>0]|0,h+-1|0)|0)>>>8)+1|0;if((o|0)<0){Oc(e);F=c[m>>2]|0;G=c[l>>2]|0}else{F=s;G=o}o=r<<24;if(F>>>0<o>>>0){H=1;I=r;J=F}else{H=0;I=(c[g>>2]|0)-r|0;J=F-o|0}o=d[16+I>>0]|0;r=I<<o;s=J<<o;h=G-o|0;c[m>>2]=s;c[l>>2]=h;c[g>>2]=r;do if(H){K=1;L=r;M=h;N=s;O=1}else{o=((S(d[y+3>>0]|0,r+-1|0)|0)>>>8)+1|0;if((h|0)<0){Oc(e);P=c[m>>2]|0;Q=c[l>>2]|0}else{P=s;Q=h}q=o<<24;if(P>>>0<q>>>0){R=1;T=o;U=P}else{R=0;T=(c[g>>2]|0)-o|0;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>2]=s;q=eb<<1;c[m>>2]=q;r=c[l>>2]|0;k=r+-1|0;c[l>>2]=k;b[i+(h<<1)>>1]=fb;if((j|0)==16){t=16;E=82;break}h=((S(s+-1|0,d[y>>0]|0)|0)>>>8)+1|0;if((r|0)<1){Oc(e);gb=c[m>>2]|0;hb=c[l>>2]|0}else{gb=q;hb=k}k=h<<24;if(gb>>>0<k>>>0){ib=1;jb=h;kb=gb}else{ib=0;jb=(c[g>>2]|0)-h|0;kb=gb-k|0}k=d[16+jb>>0]|0;u=jb<<k;w=kb<<k;v=hb-k|0;c[m>>2]=w;c[l>>2]=v;c[g>>2]=u;if(ib){t=j;E=82;break}else x=j}if((E|0)==82)return t|0;return 0}function Xc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;f=e+8|0;g=a+3248|0;switch(b|0){case 1:{h=a+5564|0;break}case 2:{h=a+5568|0;break}case 4:{h=a+5572|0;break}default:{Ma(g,1,5960,e);i=c[g>>2]|0;l=e;return i|0}}b=c[h>>2]|0;h=a+5064+(b*120|0)|0;if((((c[a+5064+(b*120|0)+4>>2]|0)==(c[d+4>>2]|0)?(c[h>>2]|0)==(c[d>>2]|0):0)?(c[a+5064+(b*120|0)+24>>2]|0)==(c[d+24>>2]|0):0)?(c[a+5064+(b*120|0)+20>>2]|0)==(c[d+20>>2]|0):0){Ua(h,d);i=c[g>>2]|0;l=e;return i|0}Ma(g,1,5984,f);i=c[g>>2]|0;l=e;return i|0}function Yc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;e=l;l=l+16|0;f=e+8|0;g=a+3248|0;switch(b|0){case 1:{h=a+5564|0;break}case 2:{h=a+5568|0;break}case 4:{h=a+5572|0;break}default:{Ma(g,1,5960,e);i=c[g>>2]|0;l=e;return i|0}}b=c[h>>2]|0;if((((c[a+5064+(b*120|0)+4>>2]|0)==(c[d+4>>2]|0)?(c[a+5064+(b*120|0)>>2]|0)==(c[d>>2]|0):0)?(c[a+5064+(b*120|0)+24>>2]|0)==(c[d+24>>2]|0):0)?(c[a+5064+(b*120|0)+20>>2]|0)==(c[d+20>>2]|0):0){if(c[a+5544>>2]|0)if(c[a+5548>>2]|0)if(!(c[a+5552>>2]|0))j=2;else j=(c[a+5556>>2]|0)==0?3:4;else j=1;else j=0;b=a+5544+(j<<2)|0;c[b>>2]=0;k=a+5544+(c[h>>2]<<2)|0;m=c[k>>2]|0;if((m|0)>0)c[k>>2]=m+-1;c[h>>2]=j;c[b>>2]=(c[b>>2]|0)+1;Ua(d,a+5064+((c[h>>2]|0)*120|0)|0);i=c[g>>2]|0;l=e;return i|0}Ma(g,1,5984,f);i=c[g>>2]|0;l=e;return i|0}function Zc(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;d=4;b=be(40)|0;c[b>>2]=0;g=a+3248|0;c[g>>2]=0;do if(((c[a+11836>>2]|0)==0?(c[a+11736>>2]|0)>>>0<2:0)?(c[a+11776>>2]|0)==0:0){h=a+5564|0;i=c[h>>2]|0;j=a+5544+(i<<2)|0;k=c[j>>2]|0;if((k|0)>1){c[j>>2]=k+-1;if(c[a+5544>>2]|0)if(c[a+5548>>2]|0)if(!(c[a+5552>>2]|0))l=2;else l=(c[a+5556>>2]|0)==0?3:4;else l=1;else l=0;c[a+5544+(l<<2)>>2]=1;c[h>>2]=l;o=0;ba(1,a+5064+(i*120|0)|0,a+5064+(l*120|0)|0);k=o;o=0;if((k|0)!=0&(p|0)!=0){m=ne(c[k>>2]|0,b|0,d|0)|0;if(!m)ja(k|0,p|0);D=p}else m=-1;if((m|0)==1){n=D;q=0;r=0;s=0;t=0;break}u=c[h>>2]|0}else u=i;c[a+5064+(u*120|0)+112>>2]=1;v=0;w=a+5704|0;c[w>>2]=0;ce(b|0);return v|0}else x=12;while(0);if((x|0)==12){if(c[a+5544>>2]|0)if(c[a+5548>>2]|0)if(!(c[a+5552>>2]|0))y=2;else y=(c[a+5556>>2]|0)==0?3:4;else y=1;else y=0;c[a+5544+(y<<2)>>2]=1;u=a+5560|0;c[u>>2]=y;c[a+3232>>2]=a+5064+(y*120|0);y=a+5564|0;c[a+3236>>2]=a+5064+((c[y>>2]|0)*120|0);m=a+5568|0;c[a+3240>>2]=a+5064+((c[m>>2]|0)*120|0);l=a+5572|0;c[a+3244>>2]=a+5064+((c[l>>2]|0)*120|0);b=me(a+3340|0,1,b|0,d|0)|0;d=D;o=0;i=o;o=0;if((i|0)!=0&(p|0)!=0){z=ne(c[i>>2]|0,b|0,d|0)|0;if(!z)ja(i|0,p|0);D=p}else z=-1;if((z|0)==1){n=D;q=l;r=m;s=y;t=u}else{n=0;q=l;r=m;s=y;t=u}}while(1){if(n|0){x=19;break}c[a+3336>>2]=1;o=0;A=ca(3,a|0)|0;u=o;o=0;if((u|0)!=0&(p|0)!=0){B=ne(c[u>>2]|0,b|0,d|0)|0;if(!B)ja(u|0,p|0);D=p}else B=-1;if((B|0)==1)n=D;else{x=22;break}}do if((x|0)==19){c[a+5064+((c[s>>2]|0)*120|0)+112>>2]=1;n=a+5544+(c[t>>2]<<2)|0;B=c[n>>2]|0;if((B|0)>0){c[n>>2]=B+-1;C=1}else C=1}else if((x|0)==22){if((A|0)<0){B=a+5544+(c[t>>2]<<2)|0;n=c[B>>2]|0;if((n|0)>0)c[B>>2]=n+-1;c[g>>2]=1;C=A;break}switch(c[a+9164>>2]|0){case 0:{E=0;break}case 1:{F=0;G=c[s>>2]|0;x=29;break}case 2:{F=0;G=c[r>>2]|0;x=29;break}default:{F=-1;G=0;x=29}}if((x|0)==29){n=a+5544+(c[q>>2]<<2)|0;B=c[n>>2]|0;if((B|0)>0)c[n>>2]=B+-1;c[q>>2]=G;B=a+5544+(G<<2)|0;c[B>>2]=(c[B>>2]|0)+1;E=F}switch(c[a+9160>>2]|0){case 0:{H=E;break}case 1:{I=s;x=34;break}case 2:{I=q;x=34;break}default:{J=-1;K=0;x=35}}if((x|0)==34){J=E;K=c[I>>2]|0;x=35}if((x|0)==35){B=a+5544+(c[r>>2]<<2)|0;n=c[B>>2]|0;if((n|0)>0)c[B>>2]=n+-1;c[r>>2]=K;n=a+5544+(K<<2)|0;c[n>>2]=(c[n>>2]|0)+1;H=J}if(c[a+9152>>2]|0){n=c[t>>2]|0;B=a+5544+(c[r>>2]<<2)|0;d=c[B>>2]|0;if((d|0)>0)c[B>>2]=d+-1;c[r>>2]=n;d=a+5544+(n<<2)|0;c[d>>2]=(c[d>>2]|0)+1}if(c[a+9156>>2]|0){d=c[t>>2]|0;n=a+5544+(c[q>>2]<<2)|0;B=c[n>>2]|0;if((B|0)>0)c[n>>2]=B+-1;c[q>>2]=d;B=a+5544+(d<<2)|0;c[B>>2]=(c[B>>2]|0)+1}if(!(c[a+9148>>2]|0))L=t;else{B=c[t>>2]|0;d=a+5544+(c[s>>2]<<2)|0;n=c[d>>2]|0;if((n|0)>0)c[d>>2]=n+-1;c[s>>2]=B;n=a+5544+(B<<2)|0;c[n>>2]=(c[n>>2]|0)+1;L=s}c[a+5060>>2]=a+5064+((c[L>>2]|0)*120|0);n=a+5544+(c[t>>2]<<2)|0;c[n>>2]=(c[n>>2]|0)+-1;if(H|0){c[g>>2]=1;C=A;break}if(c[a+5704>>2]|0){n=a+11428|0;c[n>>2]=(c[n>>2]|0)+1;c[a+5776>>2]=c[a+5772>>2]}c[a+11824>>2]=0;n=a+11816|0;c[n>>2]=e;c[n+4>>2]=f;C=A}while(0);v=C;w=a+3336|0;c[w>>2]=0;ce(b|0);return v|0}function _c(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;f=a+11824|0;if((c[f>>2]|0)==1){g=-1;return g|0}if(!(c[a+5704>>2]|0)){g=-1;return g|0}c[f>>2]=1;f=a+11816|0;h=c[f+4>>2]|0;i=d;c[i>>2]=c[f>>2];c[i+4>>2]=h;h=e;c[h>>2]=0;c[h+4>>2]=0;h=c[a+5060>>2]|0;if(!h){g=-1;return g|0}e=b;i=h;h=e+120|0;do{c[e>>2]=c[i>>2];e=e+4|0;i=i+4|0}while((e|0)<(h|0));c[b>>2]=c[a+5040>>2];i=c[a+5044>>2]|0;c[b+4>>2]=i;c[b+24>>2]=(i|0)/2|0;g=0;return g|0}function $c(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=c[a+2468>>2]|0;if((e|0)<=0){f=0;return f|0}g=c[a+2472>>2]|0;if((g|0)<=0){h=0;do h=h+1|0;while((h|0)<(e|0));f=0;return f|0}h=0;i=c[a+2524>>2]|0;a:while(1){a=0;j=i;while(1){if((d[j+2>>0]|0|0)==(b|0)){f=1;k=9;break a}a=a+1|0;if((a|0)>=(g|0))break;else j=j+76|0}h=h+1|0;if((h|0)>=(e|0)){f=0;k=9;break}else i=j+152|0}if((k|0)==9)return f|0;return 0}function ad(a,b){a=a|0;b=b|0;b=bd()|0;c[a>>2]=b;return (b|0)==0|0}function bd(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;a=4;b=be(40)|0;c[b>>2]=0;o=0;d=fa(12,32,11872)|0;e=o;o=0;if((e|0)!=0&(p|0)!=0){f=ne(c[e>>2]|0,b|0,a|0)|0;if(!f)ja(e|0,p|0);D=p}else f=-1;if((f|0)!=1){if(!d){g=0;ce(b|0);return g|0}je(d|0,0,11872)|0;f=d+3248|0;b=me(d+3340|0,1,b|0,a|0)|0;a=D;o=0;e=o;o=0;if((e|0)!=0&(p|0)!=0){h=ne(c[e>>2]|0,b|0,a|0)|0;if(!h)ja(e|0,p|0);D=p}else h=-1;if((h|0)==1){i=f;j=d;k=D}else{i=f;j=d;k=0}}else{i=0;j=0;k=D}while(1){f=d+3336|0;if(k|0){c[f>>2]=0;o=0;aa(2,i|0);h=o;o=0;if((h|0)!=0&(p|0)!=0){l=ne(c[h>>2]|0,b|0,a|0)|0;if(!l)ja(h|0,p|0);D=p}else l=-1;if((l|0)==1){m=j;n=i;k=D;j=m;i=n;continue}o=0;aa(3,d|0);h=o;o=0;if((h|0)!=0&(p|0)!=0){q=ne(c[h>>2]|0,b|0,a|0)|0;if(!q)ja(h|0,p|0);D=p}else q=-1;if((q|0)==1){m=j;n=i;k=D;j=m;i=n;continue}else{r=8;break}}c[f>>2]=1;o=0;aa(4,i|0);h=o;o=0;if((h|0)!=0&(p|0)!=0){s=ne(c[h>>2]|0,b|0,a|0)|0;if(!s)ja(h|0,p|0);D=p}else s=-1;if((s|0)==1){m=j;n=i;k=D;j=m;i=n;continue}c[d+11428>>2]=0;c[d+11824>>2]=1;o=0;aa(5,j|0);h=o;o=0;if((h|0)!=0&(p|0)!=0){t=ne(c[h>>2]|0,b|0,a|0)|0;if(!t)ja(h|0,p|0);D=p}else t=-1;if((t|0)==1){m=j;n=i;k=D;j=m;i=n;continue}o=0;aa(6,i|0);h=o;o=0;if((h|0)!=0&(p|0)!=0){u=ne(c[h>>2]|0,b|0,a|0)|0;if(!u)ja(h|0,p|0);D=p}else u=-1;if((u|0)==1){m=j;n=i;k=D;j=m;i=n;continue}c[f>>2]=0;f=d+11832|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;o=0;aa(7,d|0);f=o;o=0;if((f|0)!=0&(p|0)!=0){v=ne(c[f>>2]|0,b|0,a|0)|0;if(!v)ja(f|0,p|0);D=p}else v=-1;if((v|0)==1){m=j;n=i;k=D;j=m;i=n;continue}if(c[2174]|0){g=j;r=19;break}if(c[2175]|0)break;o=0;da(1);f=o;o=0;if((f|0)!=0&(p|0)!=0){w=ne(c[f>>2]|0,b|0,a|0)|0;if(!w)ja(f|0,p|0);D=p}else w=-1;if((w|0)==1){m=j;n=i;k=D;j=m;i=n;continue}o=0;da(2);f=o;o=0;if((f|0)!=0&(p|0)!=0){x=ne(c[f>>2]|0,b|0,a|0)|0;if(!x)ja(f|0,p|0);D=p}else x=-1;if((x|0)==1){m=j;n=i;k=D;j=m;i=n}else{r=17;break}}if((r|0)==8){g=0;ce(b|0);return g|0}else if((r|0)==17)c[2175]=1;else if((r|0)==19){ce(b|0);return g|0}c[2174]=1;g=j;ce(b|0);return g|0}function cd(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;if(!b){d=1;return d|0}wb(b+3248|0);Pa(b);d=0;return d|0}function dd(){var a=0,b=0,d=0;a=l;l=l+16|0;b=a;d=Mc()|0;c[2176]=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;Ia(8708,d,b,0,10)|0;l=a;return}function ed(){return 0}function fd(){return}function gd(a,b){a=a|0;b=b|0;ae(6012)|0;return 0}function hd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;d=l;l=l+16|0;e=d;f=d+4|0;Ja(8708,a,b,0,1)|0;Ja(8708,0,0,0,1)|0;c[f>>2]=0;b=Ka(8708,f)|0;if(!b){g=0;l=d;return g|0}else{h=b;i=0}a:while(1){if(i|0){j=3;break}k=c[h>>2]|0;switch(k|0){case 258:{b=c[h+12>>2]|0;a=c[h+16>>2]|0;m=b;n=a;o=a>>>1;p=b>>>1;break}case 261:{b=c[h+12>>2]|0;a=c[h+16>>2]|0;m=b;n=a;o=a;p=b>>>1;break}case 262:{b=c[h+12>>2]|0;a=c[h+16>>2]|0;m=b;n=a;o=a;p=b;break}default:{j=8;break a}}ia(c[h+48>>2]|0,c[h+64>>2]|0,c[h+52>>2]|0,c[h+68>>2]|0,c[h+56>>2]|0,c[h+72>>2]|0,m|0,n|0,p|0,o|0);h=Ka(8708,f)|0;if(!h){g=1;j=10;break}else i=1}if((j|0)==3){while(1){j=0;ae(6050)|0;if(!(Ka(8708,f)|0)){g=i;break}else j=3}l=d;return g|0}else if((j|0)==8){c[e>>2]=k;$d(6100,e)|0;g=0;l=d;return g|0}else if((j|0)==10){l=d;return g|0}return 0}function id(){return 8736}function jd(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=qd(c[a+60>>2]|0)|0;a=md(ka(6,d|0)|0)|0;l=b;return a|0}function kd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=l;l=l+48|0;f=e+16|0;g=e;h=e+32|0;i=a+28|0;j=c[i>>2]|0;c[h>>2]=j;k=a+20|0;m=(c[k>>2]|0)-j|0;c[h+4>>2]=m;c[h+8>>2]=b;c[h+12>>2]=d;b=m+d|0;m=a+60|0;c[g>>2]=c[m>>2];c[g+4>>2]=h;c[g+8>>2]=2;j=md(qa(146,g|0)|0)|0;a:do if((b|0)!=(j|0)){g=j;n=h;o=2;p=b;while(1){if((g|0)<0)break;p=p-g|0;q=c[n+4>>2]|0;r=g>>>0>q>>>0;s=r?n+8|0:n;t=(r<<31>>31)+o|0;u=g-(r?q:0)|0;c[s>>2]=(c[s>>2]|0)+u;q=s+4|0;c[q>>2]=(c[q>>2]|0)-u;c[f>>2]=c[m>>2];c[f+4>>2]=s;c[f+8>>2]=t;g=md(qa(146,f|0)|0)|0;if((p|0)==(g|0)){v=3;break a}else{n=s;o=t}}c[a+16>>2]=0;c[i>>2]=0;c[k>>2]=0;c[a>>2]=c[a>>2]|32;if((o|0)==2)w=0;else w=d-(c[n+4>>2]|0)|0}else v=3;while(0);if((v|0)==3){v=c[a+44>>2]|0;c[a+16>>2]=v+(c[a+48>>2]|0);c[i>>2]=v;c[k>>2]=v;w=d}l=e;return w|0}function ld(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=l;l=l+32|0;f=e;g=e+20|0;c[f>>2]=c[a+60>>2];c[f+4>>2]=0;c[f+8>>2]=b;c[f+12>>2]=g;c[f+16>>2]=d;if((md(pa(140,f|0)|0)|0)<0){c[g>>2]=-1;h=-1}else h=c[g>>2]|0;l=e;return h|0}function md(a){a=a|0;var b=0;if(a>>>0>4294963200){c[(nd()|0)>>2]=0-a;b=-1}else b=a;return b|0}function nd(){return (od()|0)+64|0}function od(){return pd()|0}function pd(){return 1684}function qd(a){a=a|0;return a|0}function rd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+32|0;g=f;c[b+36>>2]=6;if((c[b>>2]&64|0)==0?(c[g>>2]=c[b+60>>2],c[g+4>>2]=21523,c[g+8>>2]=f+16,oa(54,g|0)|0):0)a[b+75>>0]=-1;g=kd(b,d,e)|0;l=f;return g|0}function sd(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=a[b>>0]|0;e=a[c>>0]|0;if(d<<24>>24==0?1:d<<24>>24!=e<<24>>24){f=e;g=d}else{d=b;b=c;do{d=d+1|0;b=b+1|0;c=a[d>>0]|0;e=a[b>>0]|0}while(!(c<<24>>24==0?1:c<<24>>24!=e<<24>>24));f=e;g=c}return (g&255)-(f&255)|0}function td(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;g=l;l=l+128|0;h=g+124|0;i=g;j=i;k=2056;m=j+124|0;do{c[j>>2]=c[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(m|0));if((d+-1|0)>>>0>2147483646)if(!d){n=1;o=h;p=4}else{c[(nd()|0)>>2]=75;q=-1}else{n=d;o=b;p=4}if((p|0)==4){p=-2-o|0;b=n>>>0>p>>>0?p:n;c[i+48>>2]=b;n=i+20|0;c[n>>2]=o;c[i+44>>2]=o;p=o+b|0;o=i+16|0;c[o>>2]=p;c[i+28>>2]=p;p=ud(i,e,f)|0;if(!b)q=p;else{b=c[n>>2]|0;a[b+(((b|0)==(c[o>>2]|0))<<31>>31)>>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,Ga=0,Ha=0,Ia=0;j=l;l=l+64|0;k=j+16|0;m=j;n=j+24|0;o=j+8|0;p=j+20|0;c[k>>2]=e;q=(d|0)!=0;r=n+40|0;s=r;t=n+39|0;n=o+4|0;u=e;e=0;v=0;w=0;a:while(1){do if((e|0)>-1)if((v|0)>(2147483647-e|0)){c[(nd()|0)>>2]=75;x=-1;break}else{x=v+e|0;break}else x=e;while(0);y=a[u>>0]|0;if(!(y<<24>>24)){z=87;break}else{A=y;B=u}b:while(1){switch(A<<24>>24){case 37:{C=B;E=B;z=9;break b;break}case 0:{F=B;G=B;break b;break}default:{}}y=B+1|0;c[k>>2]=y;A=a[y>>0]|0;B=y}c:do if((z|0)==9)while(1){z=0;if((a[C+1>>0]|0)!=37){F=C;G=E;break c}y=E+1|0;H=C+2|0;c[k>>2]=H;if((a[H>>0]|0)==37){C=H;E=y;z=9}else{F=H;G=y;break}}while(0);y=G-u|0;if(q)yd(d,u,y);if(y|0){u=F;e=x;v=y;continue}y=F+1|0;H=(a[y>>0]|0)+-48|0;if(H>>>0<10){I=(a[F+2>>0]|0)==36;J=I?H:-1;K=I?1:w;L=I?F+3|0:y}else{J=-1;K=w;L=y}c[k>>2]=L;y=a[L>>0]|0;I=(y<<24>>24)+-32|0;d:do if(I>>>0<32){H=y;M=0;N=L;O=I;while(1){P=1<<O;if(!(P&75913)){Q=H;R=N;S=M;break d}T=P|M;P=N+1|0;c[k>>2]=P;U=a[P>>0]|0;O=(U<<24>>24)+-32|0;if(O>>>0>=32){Q=U;R=P;S=T;break}else{H=U;M=T;N=P}}}else{Q=y;R=L;S=0}while(0);if(Q<<24>>24==42){y=R+1|0;I=(a[y>>0]|0)+-48|0;if(I>>>0<10?(a[R+2>>0]|0)==36:0){c[i+(I<<2)>>2]=10;V=1;W=R+3|0;X=c[g+((a[y>>0]|0)+-48<<3)>>2]|0}else{if(K|0){Y=-1;break}if(q){I=(c[f>>2]|0)+(4-1)&~(4-1);N=c[I>>2]|0;c[f>>2]=I+4;V=0;W=y;X=N}else{V=0;W=y;X=0}}c[k>>2]=W;y=(X|0)<0;Z=W;_=y?S|8192:S;$=V;aa=y?0-X|0:X}else{y=zd(k)|0;if((y|0)<0){Y=-1;break}Z=c[k>>2]|0;_=S;$=K;aa=y}do if((a[Z>>0]|0)==46){if((a[Z+1>>0]|0)!=42){c[k>>2]=Z+1;y=zd(k)|0;ba=c[k>>2]|0;ca=y;break}y=Z+2|0;N=(a[y>>0]|0)+-48|0;if(N>>>0<10?(a[Z+3>>0]|0)==36:0){c[i+(N<<2)>>2]=10;N=c[g+((a[y>>0]|0)+-48<<3)>>2]|0;I=Z+4|0;c[k>>2]=I;ba=I;ca=N;break}if($|0){Y=-1;break a}if(q){N=(c[f>>2]|0)+(4-1)&~(4-1);I=c[N>>2]|0;c[f>>2]=N+4;da=I}else da=0;c[k>>2]=y;ba=y;ca=da}else{ba=Z;ca=-1}while(0);y=ba;I=0;while(1){if(((a[y>>0]|0)+-65|0)>>>0>57){Y=-1;break a}ea=y+1|0;c[k>>2]=ea;fa=a[(a[y>>0]|0)+-65+(6145+(I*58|0))>>0]|0;ga=fa&255;if((ga+-1|0)>>>0<8){y=ea;I=ga}else break}if(!(fa<<24>>24)){Y=-1;break}N=(J|0)>-1;do if(fa<<24>>24==19)if(N){Y=-1;break a}else z=49;else{if(N){c[i+(J<<2)>>2]=ga;M=g+(J<<3)|0;H=c[M+4>>2]|0;O=m;c[O>>2]=c[M>>2];c[O+4>>2]=H;z=49;break}if(!q){Y=0;break a}Ad(m,ga,f)}while(0);if((z|0)==49?(z=0,!q):0){u=ea;e=x;v=0;w=$;continue}N=a[y>>0]|0;H=(I|0)!=0&(N&15|0)==3?N&-33:N;N=_&-65537;O=(_&8192|0)==0?_:N;e:do switch(H|0){case 110:{switch((I&255)<<24>>24){case 0:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 1:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 2:{M=c[m>>2]|0;c[M>>2]=x;c[M+4>>2]=((x|0)<0)<<31>>31;u=ea;e=x;v=0;w=$;continue a;break}case 3:{b[c[m>>2]>>1]=x;u=ea;e=x;v=0;w=$;continue a;break}case 4:{a[c[m>>2]>>0]=x;u=ea;e=x;v=0;w=$;continue a;break}case 6:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 7:{M=c[m>>2]|0;c[M>>2]=x;c[M+4>>2]=((x|0)<0)<<31>>31;u=ea;e=x;v=0;w=$;continue a;break}default:{u=ea;e=x;v=0;w=$;continue a}}break}case 112:{ha=O|8;ia=ca>>>0>8?ca:8;ja=120;z=61;break}case 88:case 120:{ha=O;ia=ca;ja=H;z=61;break}case 111:{M=m;P=c[M>>2]|0;T=c[M+4>>2]|0;M=Cd(P,T,r)|0;U=s-M|0;ka=P;la=T;ma=M;na=O;oa=(O&8|0)==0|(ca|0)>(U|0)?ca:U+1|0;pa=0;qa=6609;z=67;break}case 105:case 100:{U=m;M=c[U>>2]|0;T=c[U+4>>2]|0;if((T|0)<0){U=he(0,0,M|0,T|0)|0;P=D;ra=m;c[ra>>2]=U;c[ra+4>>2]=P;sa=U;ta=P;ua=1;va=6609;z=66;break e}else{sa=M;ta=T;ua=(O&2049|0)!=0&1;va=(O&2048|0)==0?((O&1|0)==0?6609:6611):6610;z=66;break e}break}case 117:{T=m;sa=c[T>>2]|0;ta=c[T+4>>2]|0;ua=0;va=6609;z=66;break}case 99:{a[t>>0]=c[m>>2];wa=t;xa=N;ya=1;za=0;Aa=6609;Ba=r;break}case 109:{Ca=Ed(c[(nd()|0)>>2]|0)|0;z=71;break}case 115:{T=c[m>>2]|0;Ca=T|0?T:6619;z=71;break}case 67:{c[o>>2]=c[m>>2];c[n>>2]=0;c[m>>2]=o;Da=o;Ea=-1;z=75;break}case 83:{T=c[m>>2]|0;if(!ca){Gd(d,32,aa,0,O);Fa=0;z=84}else{Da=T;Ea=ca;z=75}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{u=ea;e=x;v=Id(d,+h[m>>3],aa,ca,O,H)|0;w=$;continue a;break}default:{wa=u;xa=O;ya=ca;za=0;Aa=6609;Ba=r}}while(0);f:do if((z|0)==61){z=0;H=m;I=c[H>>2]|0;y=c[H+4>>2]|0;H=Bd(I,y,r,ja&32)|0;T=(ha&8|0)==0|(I|0)==0&(y|0)==0;ka=I;la=y;ma=H;na=ha;oa=ia;pa=T?0:2;qa=T?6609:6609+(ja>>4)|0;z=67}else if((z|0)==66){z=0;ka=sa;la=ta;ma=Dd(sa,ta,r)|0;na=O;oa=ca;pa=ua;qa=va;z=67}else if((z|0)==71){z=0;T=Fd(Ca,0,ca)|0;H=(T|0)==0;wa=Ca;xa=N;ya=H?ca:T-Ca|0;za=0;Aa=6609;Ba=H?Ca+ca|0:T}else if((z|0)==75){z=0;T=0;H=0;y=Da;while(1){I=c[y>>2]|0;if(!I){Ga=T;Ha=H;break}M=Hd(p,I)|0;if((M|0)<0|M>>>0>(Ea-T|0)>>>0){Ga=T;Ha=M;break}I=M+T|0;if(Ea>>>0>I>>>0){T=I;H=M;y=y+4|0}else{Ga=I;Ha=M;break}}if((Ha|0)<0){Y=-1;break a}Gd(d,32,aa,Ga,O);if(!Ga){Fa=0;z=84}else{y=0;H=Da;while(1){T=c[H>>2]|0;if(!T){Fa=Ga;z=84;break f}M=Hd(p,T)|0;y=M+y|0;if((y|0)>(Ga|0)){Fa=Ga;z=84;break f}yd(d,p,M);if(y>>>0>=Ga>>>0){Fa=Ga;z=84;break}else H=H+4|0}}}while(0);if((z|0)==67){z=0;N=(ka|0)!=0|(la|0)!=0;H=(oa|0)!=0|N;y=((N^1)&1)+(s-ma)|0;wa=H?ma:r;xa=(oa|0)>-1?na&-65537:na;ya=H?((oa|0)>(y|0)?oa:y):oa;za=pa;Aa=qa;Ba=r}else if((z|0)==84){z=0;Gd(d,32,aa,Fa,O^8192);u=ea;e=x;v=(aa|0)>(Fa|0)?aa:Fa;w=$;continue}y=Ba-wa|0;H=(ya|0)<(y|0)?y:ya;N=H+za|0;M=(aa|0)<(N|0)?N:aa;Gd(d,32,M,N,xa);yd(d,Aa,za);Gd(d,48,M,N,xa^65536);Gd(d,48,H,y,0);yd(d,wa,y);Gd(d,32,M,N,xa^8192);u=ea;e=x;v=M;w=$}g:do if((z|0)==87)if(!d)if(!w)Y=0;else{$=1;while(1){v=c[i+($<<2)>>2]|0;if(!v){Ia=$;break}Ad(g+($<<3)|0,v,f);$=$+1|0;if(($|0)>=10){Y=1;break g}}while(1){if(c[i+(Ia<<2)>>2]|0){Y=-1;break g}Ia=Ia+1|0;if((Ia|0)>=10){Y=1;break}}}else Y=x;while(0);l=j;return Y|0}function wd(a){a=a|0;return 0}function xd(a){a=a|0;return}function yd(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a>>2]&32))Ud(b,d,a)|0;return}function zd(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b>>2]|0;e=(a[d>>0]|0)+-48|0;if(e>>>0<10){f=d;d=0;g=e;while(1){e=g+(d*10|0)|0;f=f+1|0;c[b>>2]=f;g=(a[f>>0]|0)+-48|0;if(g>>>0>=10){h=e;break}else d=e}}else h=0;return h|0}function Ad(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=f;break a;break}case 10:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a;break}case 11:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=f;c[e+4>>2]=0;break a;break}case 12:{e=(c[d>>2]|0)+(8-1)&~(8-1);f=e;g=c[f>>2]|0;i=c[f+4>>2]|0;c[d>>2]=e+8;e=a;c[e>>2]=g;c[e+4>>2]=i;break a;break}case 13:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=(e&65535)<<16>>16;e=a;c[e>>2]=i;c[e+4>>2]=((i|0)<0)<<31>>31;break a;break}case 14:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=a;c[i>>2]=e&65535;c[i+4>>2]=0;break a;break}case 15:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=(e&255)<<24>>24;e=a;c[e>>2]=i;c[e+4>>2]=((i|0)<0)<<31>>31;break a;break}case 16:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=a;c[i>>2]=e&255;c[i+4>>2]=0;break a;break}case 17:{i=(c[d>>2]|0)+(8-1)&~(8-1);j=+h[i>>3];c[d>>2]=i+8;h[a>>3]=j;break a;break}case 18:{i=(c[d>>2]|0)+(8-1)&~(8-1);j=+h[i>>3];c[d>>2]=i+8;h[a>>3]=j;break a;break}default:break a}while(0);while(0);return}function Bd(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0;if((b|0)==0&(c|0)==0)g=e;else{h=b;b=c;c=e;while(1){e=c+-1|0;a[e>>0]=d[6661+(h&15)>>0]|0|f;h=ke(h|0,b|0,4)|0;b=D;if((h|0)==0&(b|0)==0){g=e;break}else c=e}}return g|0}function Cd(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;if((b|0)==0&(c|0)==0)e=d;else{f=b;b=c;c=d;while(1){d=c+-1|0;a[d>>0]=f&7|48;f=ke(f|0,b|0,3)|0;b=D;if((f|0)==0&(b|0)==0){e=d;break}else c=d}}return e|0}function Dd(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295){e=b;f=c;c=d;while(1){g=te(e|0,f|0,10,0)|0;c=c+-1|0;a[c>>0]=g&255|48;g=e;e=re(e|0,f|0,10,0)|0;if(!(f>>>0>9|(f|0)==9&g>>>0>4294967295))break;else f=D}h=c;i=e}else{h=d;i=b}if(!i)j=h;else{b=h;h=i;while(1){i=b+-1|0;a[i>>0]=(h>>>0)%10|0|48;if(h>>>0<10){j=i;break}else{b=i;h=(h>>>0)/10|0}}}return j|0}function Ed(a){a=a|0;return Pd(a,c[(Od()|0)+188>>2]|0)|0}function Fd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=d&255;g=(e|0)!=0;a:do if(g&(b&3|0)!=0){h=d&255;i=e;j=b;while(1){if((a[j>>0]|0)==h<<24>>24){k=i;l=j;m=6;break a}n=j+1|0;o=i+-1|0;p=(o|0)!=0;if(p&(n&3|0)!=0){i=o;j=n}else{q=o;r=n;s=p;m=5;break}}}else{q=e;r=b;s=g;m=5}while(0);if((m|0)==5)if(s){k=q;l=r;m=6}else{t=0;u=r}b:do if((m|0)==6){r=d&255;if((a[l>>0]|0)==r<<24>>24){t=k;u=l}else{q=S(f,16843009)|0;c:do if(k>>>0>3){s=k;g=l;while(1){b=c[g>>2]^q;if((b&-2139062144^-2139062144)&b+-16843009|0)break;b=g+4|0;e=s+-4|0;if(e>>>0>3){s=e;g=b}else{v=e;w=b;m=11;break c}}x=s;y=g}else{v=k;w=l;m=11}while(0);if((m|0)==11)if(!v){t=0;u=w;break}else{x=v;y=w}while(1){if((a[y>>0]|0)==r<<24>>24){t=x;u=y;break b}q=y+1|0;x=x+-1|0;if(!x){t=0;u=q;break}else y=q}}}while(0);return (t|0?u:0)|0}function Gd(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=l;l=l+256|0;g=f;if((c|0)>(d|0)&(e&73728|0)==0){e=c-d|0;je(g|0,b|0,(e>>>0<256?e:256)|0)|0;if(e>>>0>255){b=c-d|0;d=e;do{yd(a,g,256);d=d+-256|0}while(d>>>0>255);h=b&255}else h=e;yd(a,g,h)}l=f;return}function Hd(a,b){a=a|0;b=b|0;var c=0;if(!a)c=0;else c=Md(a,b,0)|0;return c|0}function Id(b,e,f,g,h,i){b=b|0;e=+e;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0.0,E=0.0,F=0,G=0,H=0,I=0.0,J=0,K=0,L=0,M=0,N=0,O=0.0,P=0,Q=0,R=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0.0,fa=0.0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0;j=l;l=l+560|0;k=j+8|0;m=j;n=j+524|0;o=n;p=j+512|0;c[m>>2]=0;q=p+12|0;Jd(e)|0;if((D|0)<0){r=1;s=6626;t=-e}else{r=(h&2049|0)!=0&1;s=(h&2048|0)==0?((h&1|0)==0?6627:6632):6629;t=e}Jd(t)|0;u=D&2146435072;do if(u>>>0<2146435072|(u|0)==2146435072&0<0){e=+Kd(t,m)*2.0;v=e!=0.0;if(v)c[m>>2]=(c[m>>2]|0)+-1;w=i|32;if((w|0)==97){x=i&32;y=(x|0)==0?s:s+9|0;z=r|2;A=12-g|0;do if(!(g>>>0>11|(A|0)==0)){B=A;C=8.0;do{B=B+-1|0;C=C*16.0}while((B|0)!=0);if((a[y>>0]|0)==45){E=-(C+(-e-C));break}else{E=e+C-C;break}}else E=e;while(0);A=c[m>>2]|0;B=(A|0)<0?0-A|0:A;F=Dd(B,((B|0)<0)<<31>>31,q)|0;if((F|0)==(q|0)){B=p+11|0;a[B>>0]=48;G=B}else G=F;a[G+-1>>0]=(A>>31&2)+43;A=G+-2|0;a[A>>0]=i+15;F=(g|0)<1;B=(h&8|0)==0;H=n;I=E;while(1){J=~~I;K=H+1|0;a[H>>0]=d[6661+J>>0]|x;I=(I-+(J|0))*16.0;if((K-o|0)==1?!(B&(F&I==0.0)):0){a[K>>0]=46;L=H+2|0}else L=K;if(!(I!=0.0))break;else H=L}H=L-o|0;F=q-A|0;B=(g|0)!=0&(H+-2|0)<(g|0)?g+2|0:H;x=F+z+B|0;Gd(b,32,f,x,h);yd(b,y,z);Gd(b,48,f,x,h^65536);yd(b,n,H);Gd(b,48,B-H|0,0,0);yd(b,A,F);Gd(b,32,f,x,h^8192);M=x;break}x=(g|0)<0?6:g;if(v){F=(c[m>>2]|0)+-28|0;c[m>>2]=F;N=F;O=e*268435456.0}else{N=c[m>>2]|0;O=e}F=(N|0)<0?k:k+288|0;I=O;H=F;do{B=~~I>>>0;c[H>>2]=B;H=H+4|0;I=(I-+(B>>>0))*1.0e9}while(I!=0.0);if((N|0)>0){v=N;A=F;z=H;while(1){y=(v|0)<29?v:29;B=z+-4|0;if(B>>>0>=A>>>0){K=0;J=B;do{B=le(c[J>>2]|0,0,y|0)|0;P=ie(B|0,D|0,K|0,0)|0;B=D;Q=te(P|0,B|0,1e9,0)|0;c[J>>2]=Q;K=re(P|0,B|0,1e9,0)|0;J=J+-4|0}while(J>>>0>=A>>>0);if(K){J=A+-4|0;c[J>>2]=K;R=J}else R=A}else R=A;J=z;while(1){if(J>>>0<=R>>>0)break;B=J+-4|0;if(!(c[B>>2]|0))J=B;else break}K=(c[m>>2]|0)-y|0;c[m>>2]=K;if((K|0)>0){v=K;A=R;z=J}else{T=K;U=R;V=J;break}}}else{T=N;U=F;V=H}if((T|0)<0){z=((x+25|0)/9|0)+1|0;A=(w|0)==102;v=T;K=U;B=V;while(1){P=0-v|0;Q=(P|0)<9?P:9;if(K>>>0<B>>>0){P=(1<<Q)+-1|0;W=1e9>>>Q;X=0;Y=K;do{Z=c[Y>>2]|0;c[Y>>2]=(Z>>>Q)+X;X=S(Z&P,W)|0;Y=Y+4|0}while(Y>>>0<B>>>0);Y=(c[K>>2]|0)==0?K+4|0:K;if(!X){_=Y;$=B}else{c[B>>2]=X;_=Y;$=B+4|0}}else{_=(c[K>>2]|0)==0?K+4|0:K;$=B}Y=A?F:_;W=($-Y>>2|0)>(z|0)?Y+(z<<2)|0:$;v=(c[m>>2]|0)+Q|0;c[m>>2]=v;if((v|0)>=0){aa=_;ba=W;break}else{K=_;B=W}}}else{aa=U;ba=V}B=F;if(aa>>>0<ba>>>0){K=(B-aa>>2)*9|0;v=c[aa>>2]|0;if(v>>>0<10)ca=K;else{z=K;K=10;while(1){K=K*10|0;A=z+1|0;if(v>>>0<K>>>0){ca=A;break}else z=A}}}else ca=0;z=(w|0)==103;K=(x|0)!=0;v=x-((w|0)!=102?ca:0)+((K&z)<<31>>31)|0;if((v|0)<(((ba-B>>2)*9|0)+-9|0)){A=v+9216|0;v=F+4+(((A|0)/9|0)+-1024<<2)|0;H=((A|0)%9|0)+1|0;if((H|0)<9){A=10;W=H;while(1){H=A*10|0;W=W+1|0;if((W|0)==9){da=H;break}else A=H}}else da=10;A=c[v>>2]|0;W=(A>>>0)%(da>>>0)|0;w=(v+4|0)==(ba|0);if(!(w&(W|0)==0)){C=(((A>>>0)/(da>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;H=(da|0)/2|0;I=W>>>0<H>>>0?.5:w&(W|0)==(H|0)?1.0:1.5;if(!r){ea=C;fa=I}else{H=(a[s>>0]|0)==45;ea=H?-C:C;fa=H?-I:I}H=A-W|0;c[v>>2]=H;if(ea+fa!=ea){W=H+da|0;c[v>>2]=W;if(W>>>0>999999999){W=aa;H=v;while(1){A=H+-4|0;c[H>>2]=0;if(A>>>0<W>>>0){w=W+-4|0;c[w>>2]=0;ga=w}else ga=W;w=(c[A>>2]|0)+1|0;c[A>>2]=w;if(w>>>0>999999999){W=ga;H=A}else{ha=ga;ia=A;break}}}else{ha=aa;ia=v}H=(B-ha>>2)*9|0;W=c[ha>>2]|0;if(W>>>0<10){ja=ha;ka=ia;la=H}else{A=H;H=10;while(1){H=H*10|0;w=A+1|0;if(W>>>0<H>>>0){ja=ha;ka=ia;la=w;break}else A=w}}}else{ja=aa;ka=v;la=ca}}else{ja=aa;ka=v;la=ca}A=ka+4|0;ma=ja;na=la;oa=ba>>>0>A>>>0?A:ba}else{ma=aa;na=ca;oa=ba}A=oa;while(1){if(A>>>0<=ma>>>0){pa=0;break}H=A+-4|0;if(!(c[H>>2]|0))A=H;else{pa=1;break}}v=0-na|0;do if(z){H=((K^1)&1)+x|0;if((H|0)>(na|0)&(na|0)>-5){qa=H+-1-na|0;ra=i+-1|0}else{qa=H+-1|0;ra=i+-2|0}H=h&8;if(!H){if(pa?(W=c[A+-4>>2]|0,(W|0)!=0):0)if(!((W>>>0)%10|0)){w=10;Y=0;while(1){w=w*10|0;P=Y+1|0;if((W>>>0)%(w>>>0)|0|0){sa=P;break}else Y=P}}else sa=0;else sa=9;Y=((A-B>>2)*9|0)+-9|0;if((ra|32|0)==102){w=Y-sa|0;W=(w|0)>0?w:0;ta=0;ua=(qa|0)<(W|0)?qa:W;va=ra;break}else{W=Y+na-sa|0;Y=(W|0)>0?W:0;ta=0;ua=(qa|0)<(Y|0)?qa:Y;va=ra;break}}else{ta=H;ua=qa;va=ra}}else{ta=h&8;ua=x;va=i}while(0);x=ua|ta;B=(x|0)!=0&1;K=(va|32|0)==102;if(K){wa=0;xa=(na|0)>0?na:0}else{z=(na|0)<0?v:na;Y=Dd(z,((z|0)<0)<<31>>31,q)|0;z=q;if((z-Y|0)<2){W=Y;while(1){w=W+-1|0;a[w>>0]=48;if((z-w|0)<2)W=w;else{ya=w;break}}}else ya=Y;a[ya+-1>>0]=(na>>31&2)+43;W=ya+-2|0;a[W>>0]=va;wa=W;xa=z-W|0}W=r+1+ua+B+xa|0;Gd(b,32,f,W,h);yd(b,s,r);Gd(b,48,f,W,h^65536);if(K){v=ma>>>0>F>>>0?F:ma;w=n+9|0;Q=w;X=n+8|0;P=v;do{J=Dd(c[P>>2]|0,0,w)|0;if((P|0)==(v|0))if((J|0)==(w|0)){a[X>>0]=48;za=X}else za=J;else if(J>>>0>n>>>0){je(n|0,48,J-o|0)|0;y=J;while(1){Z=y+-1|0;if(Z>>>0>n>>>0)y=Z;else{za=Z;break}}}else za=J;yd(b,za,Q-za|0);P=P+4|0}while(P>>>0<=F>>>0);if(x|0)yd(b,6677,1);if(P>>>0<A>>>0&(ua|0)>0){F=P;Q=ua;while(1){X=Dd(c[F>>2]|0,0,w)|0;if(X>>>0>n>>>0){je(n|0,48,X-o|0)|0;v=X;while(1){K=v+-1|0;if(K>>>0>n>>>0)v=K;else{Aa=K;break}}}else Aa=X;yd(b,Aa,(Q|0)<9?Q:9);F=F+4|0;v=Q+-9|0;if(!(F>>>0<A>>>0&(Q|0)>9)){Ba=v;break}else Q=v}}else Ba=ua;Gd(b,48,Ba+9|0,9,0)}else{Q=pa?A:ma+4|0;if((ua|0)>-1){F=n+9|0;w=(ta|0)==0;P=F;x=0-o|0;v=n+8|0;J=ma;K=ua;while(1){B=Dd(c[J>>2]|0,0,F)|0;if((B|0)==(F|0)){a[v>>0]=48;Ca=v}else Ca=B;do if((J|0)==(ma|0)){B=Ca+1|0;yd(b,Ca,1);if(w&(K|0)<1){Da=B;break}yd(b,6677,1);Da=B}else{if(Ca>>>0<=n>>>0){Da=Ca;break}je(n|0,48,Ca+x|0)|0;B=Ca;while(1){z=B+-1|0;if(z>>>0>n>>>0)B=z;else{Da=z;break}}}while(0);X=P-Da|0;yd(b,Da,(K|0)>(X|0)?X:K);B=K-X|0;J=J+4|0;if(!(J>>>0<Q>>>0&(B|0)>-1)){Ea=B;break}else K=B}}else Ea=ua;Gd(b,48,Ea+18|0,18,0);yd(b,wa,q-wa|0)}Gd(b,32,f,W,h^8192);M=W}else{K=(i&32|0)!=0;Q=r+3|0;Gd(b,32,f,Q,h&-65537);yd(b,s,r);yd(b,t!=t|0.0!=0.0?(K?6653:6657):K?6645:6649,3);Gd(b,32,f,Q,h^8192);M=Q}while(0);l=j;return ((M|0)<(f|0)?f:M)|0}function Jd(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;D=c[j+4>>2]|0;return b|0}function Kd(a,b){a=+a;b=b|0;return +(+Ld(a,b))}function Ld(a,b){a=+a;b=b|0;var d=0,e=0,f=0,g=0.0,i=0,k=0.0,l=0.0;h[j>>3]=a;d=c[j>>2]|0;e=c[j+4>>2]|0;f=ke(d|0,e|0,52)|0;switch(f&2047){case 0:{if(a!=0.0){g=+Ld(a*18446744073709551616.0,b);i=(c[b>>2]|0)+-64|0;k=g}else{i=0;k=a}c[b>>2]=i;l=k;break}case 2047:{l=a;break}default:{c[b>>2]=(f&2047)+-1022;c[j>>2]=d;c[j+4>>2]=e&-2146435073|1071644672;l=+h[j>>3]}}return +l}function Md(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;do if(b){if(d>>>0<128){a[b>>0]=d;f=1;break}if(!(c[c[(Nd()|0)+188>>2]>>2]|0))if((d&-128|0)==57216){a[b>>0]=d;f=1;break}else{c[(nd()|0)>>2]=84;f=-1;break}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;f=2;break}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=d>>>12|224;a[b+1>>0]=d>>>6&63|128;a[b+2>>0]=d&63|128;f=3;break}if((d+-65536|0)>>>0<1048576){a[b>>0]=d>>>18|240;a[b+1>>0]=d>>>12&63|128;a[b+2>>0]=d>>>6&63|128;a[b+3>>0]=d&63|128;f=4;break}else{c[(nd()|0)>>2]=84;f=-1;break}}else f=1;while(0);return f|0}function Nd(){return pd()|0}function Od(){return pd()|0}function Pd(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=0;while(1){if((d[6679+f>>0]|0)==(b|0)){g=2;break}h=f+1|0;if((h|0)==87){i=87;j=6767;g=5;break}else f=h}if((g|0)==2)if(!f)k=6767;else{i=f;j=6767;g=5}if((g|0)==5)while(1){g=0;f=j;do{b=f;f=f+1|0}while((a[b>>0]|0)!=0);i=i+-1|0;if(!i){k=f;break}else{j=f;g=5}}return Qd(k,c[e+20>>2]|0)|0}function Qd(a,b){a=a|0;b=b|0;return Rd(a,b)|0}function Rd(a,b){a=a|0;b=b|0;var d=0;if(!b)d=0;else d=Sd(c[b>>2]|0,c[b+4>>2]|0,a)|0;return (d|0?d:a)|0}function Sd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=(c[b>>2]|0)+1794895138|0;g=Td(c[b+8>>2]|0,f)|0;h=Td(c[b+12>>2]|0,f)|0;i=Td(c[b+16>>2]|0,f)|0;a:do if((g>>>0<d>>>2>>>0?(j=d-(g<<2)|0,h>>>0<j>>>0&i>>>0<j>>>0):0)?((i|h)&3|0)==0:0){j=h>>>2;k=i>>>2;l=0;m=g;while(1){n=m>>>1;o=l+n|0;p=o<<1;q=p+j|0;r=Td(c[b+(q<<2)>>2]|0,f)|0;s=Td(c[b+(q+1<<2)>>2]|0,f)|0;if(!(s>>>0<d>>>0&r>>>0<(d-s|0)>>>0)){t=0;break a}if(a[b+(s+r)>>0]|0){t=0;break a}r=sd(e,b+s|0)|0;if(!r)break;s=(r|0)<0;if((m|0)==1){t=0;break a}else{l=s?l:o;m=s?n:m-n|0}}m=p+k|0;l=Td(c[b+(m<<2)>>2]|0,f)|0;j=Td(c[b+(m+1<<2)>>2]|0,f)|0;if(j>>>0<d>>>0&l>>>0<(d-j|0)>>>0)t=(a[b+(j+l)>>0]|0)==0?b+j|0:0;else t=0}else t=0;while(0);return t|0}function Td(a,b){a=a|0;b=b|0;var c=0;c=ue(a|0)|0;return ((b|0)==0?a:c)|0}function Ud(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=e+16|0;g=c[f>>2]|0;if(!g)if(!(Vd(e)|0)){h=c[f>>2]|0;i=5}else j=0;else{h=g;i=5}a:do if((i|0)==5){g=e+20|0;f=c[g>>2]|0;k=f;if((h-f|0)>>>0<d>>>0){j=sa[c[e+36>>2]&7](e,b,d)|0;break}b:do if((a[e+75>>0]|0)>-1){f=d;while(1){if(!f){l=k;m=0;n=d;o=b;break b}p=f+-1|0;if((a[b+p>>0]|0)==10)break;else f=p}p=sa[c[e+36>>2]&7](e,b,f)|0;if(p>>>0<f>>>0){j=p;break a}l=c[g>>2]|0;m=f;n=d-f|0;o=b+f|0}else{l=k;m=0;n=d;o=b}while(0);oe(l|0,o|0,n|0)|0;c[g>>2]=(c[g>>2]|0)+n;j=m+n|0}while(0);return j|0}function Vd(b){b=b|0;var d=0,e=0,f=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;e=c[b>>2]|0;if(!(e&8)){c[b+8>>2]=0;c[b+4>>2]=0;d=c[b+44>>2]|0;c[b+28>>2]=d;c[b+20>>2]=d;c[b+16>>2]=d+(c[b+48>>2]|0);f=0}else{c[b>>2]=e|32;f=-1}return f|0}function Wd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+20|0;f=c[e>>2]|0;g=(c[a+16>>2]|0)-f|0;a=g>>>0>d>>>0?d:g;oe(f|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a;return d|0}function Xd(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=b;a:do if(!(d&3)){e=b;f=4}else{g=d;h=b;while(1){if(!(a[h>>0]|0)){i=g;break a}j=h+1|0;g=j;if(!(g&3)){e=j;f=4;break}else h=j}}while(0);if((f|0)==4){f=e;while(1){k=c[f>>2]|0;if(!((k&-2139062144^-2139062144)&k+-16843009))f=f+4|0;else break}if(!((k&255)<<24>>24))l=f;else{k=f;while(1){f=k+1|0;if(!(a[f>>0]|0)){l=f;break}else k=f}}i=l}return i-d|0}function Yd(a,b){a=a|0;b=b|0;var c=0;c=Xd(a)|0;return ((Zd(a,1,c,b)|0)!=(c|0))<<31>>31|0}function Zd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=S(d,b)|0;g=(b|0)==0?0:d;if((c[e+76>>2]|0)>-1){d=(wd(e)|0)==0;h=Ud(a,f,e)|0;if(d)i=h;else{xd(e);i=h}}else i=Ud(a,f,e)|0;if((i|0)==(f|0))j=g;else j=(i>>>0)/(b>>>0)|0;return j|0}function _d(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;f=l;l=l+16|0;g=f;h=e&255;a[g>>0]=h;i=b+16|0;j=c[i>>2]|0;if(!j)if(!(Vd(b)|0)){k=c[i>>2]|0;m=4}else n=-1;else{k=j;m=4}do if((m|0)==4){j=b+20|0;i=c[j>>2]|0;if(i>>>0<k>>>0?(o=e&255,(o|0)!=(a[b+75>>0]|0)):0){c[j>>2]=i+1;a[i>>0]=h;n=o;break}if((sa[c[b+36>>2]&7](b,g,1)|0)==1)n=d[g>>0]|0;else n=-1}while(0);l=f;return n|0}function $d(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=b;b=ud(c[482]|0,a,e)|0;l=d;return b|0}function ae(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[482]|0;if((c[d+76>>2]|0)>-1)e=wd(d)|0;else e=0;do if((Yd(b,d)|0)<0)f=1;else{if((a[d+75>>0]|0)!=10?(g=d+20|0,h=c[g>>2]|0,h>>>0<(c[d+16>>2]|0)>>>0):0){c[g>>2]=h+1;a[h>>0]=10;f=0;break}f=(_d(d,10)|0)<0}while(0);if(e|0)xd(d);return f<<31>>31|0}function be(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0;b=l;l=l+16|0;d=b;do if(a>>>0<245){e=a>>>0<11?16:a+11&-8;f=e>>>3;g=c[2200]|0;h=g>>>f;if(h&3|0){i=(h&1^1)+f|0;j=8840+(i<<1<<2)|0;k=j+8|0;m=c[k>>2]|0;n=m+8|0;o=c[n>>2]|0;do if((j|0)!=(o|0)){if(o>>>0<(c[2204]|0)>>>0)ma();p=o+12|0;if((c[p>>2]|0)==(m|0)){c[p>>2]=j;c[k>>2]=o;break}else ma()}else c[2200]=g&~(1<<i);while(0);o=i<<3;c[m+4>>2]=o|3;k=m+o+4|0;c[k>>2]=c[k>>2]|1;q=n;l=b;return q|0}k=c[2202]|0;if(e>>>0>k>>>0){if(h|0){o=2<<f;j=h<<f&(o|0-o);o=(j&0-j)+-1|0;j=o>>>12&16;p=o>>>j;o=p>>>5&8;r=p>>>o;p=r>>>2&4;s=r>>>p;r=s>>>1&2;t=s>>>r;s=t>>>1&1;u=(o|j|p|r|s)+(t>>>s)|0;s=8840+(u<<1<<2)|0;t=s+8|0;r=c[t>>2]|0;p=r+8|0;j=c[p>>2]|0;do if((s|0)!=(j|0)){if(j>>>0<(c[2204]|0)>>>0)ma();o=j+12|0;if((c[o>>2]|0)==(r|0)){c[o>>2]=s;c[t>>2]=j;v=g;break}else ma()}else{o=g&~(1<<u);c[2200]=o;v=o}while(0);j=(u<<3)-e|0;c[r+4>>2]=e|3;t=r+e|0;c[t+4>>2]=j|1;c[t+j>>2]=j;if(k|0){s=c[2205]|0;f=k>>>3;h=8840+(f<<1<<2)|0;n=1<<f;if(v&n){f=h+8|0;m=c[f>>2]|0;if(m>>>0<(c[2204]|0)>>>0)ma();else{w=f;x=m}}else{c[2200]=v|n;w=h+8|0;x=h}c[w>>2]=s;c[x+12>>2]=s;c[s+8>>2]=x;c[s+12>>2]=h}c[2202]=j;c[2205]=t;q=p;l=b;return q|0}t=c[2201]|0;if(t){j=(t&0-t)+-1|0;h=j>>>12&16;s=j>>>h;j=s>>>5&8;n=s>>>j;s=n>>>2&4;m=n>>>s;n=m>>>1&2;f=m>>>n;m=f>>>1&1;i=c[9104+((j|h|s|n|m)+(f>>>m)<<2)>>2]|0;m=(c[i+4>>2]&-8)-e|0;f=c[i+16+(((c[i+16>>2]|0)==0&1)<<2)>>2]|0;if(!f){y=m;z=i}else{n=f;f=m;m=i;while(1){i=(c[n+4>>2]&-8)-e|0;s=i>>>0<f>>>0;h=s?i:f;i=s?n:m;n=c[n+16+(((c[n+16>>2]|0)==0&1)<<2)>>2]|0;if(!n){y=h;z=i;break}else{f=h;m=i}}}m=c[2204]|0;if(z>>>0<m>>>0)ma();f=z+e|0;if(z>>>0>=f>>>0)ma();n=c[z+24>>2]|0;p=c[z+12>>2]|0;do if((p|0)==(z|0)){r=z+20|0;u=c[r>>2]|0;if(!u){i=z+16|0;h=c[i>>2]|0;if(!h){A=0;break}else{B=h;C=i}}else{B=u;C=r}while(1){r=B+20|0;u=c[r>>2]|0;if(u|0){B=u;C=r;continue}r=B+16|0;u=c[r>>2]|0;if(!u)break;else{B=u;C=r}}if(C>>>0<m>>>0)ma();else{c[C>>2]=0;A=B;break}}else{r=c[z+8>>2]|0;if(r>>>0<m>>>0)ma();u=r+12|0;if((c[u>>2]|0)!=(z|0))ma();i=p+8|0;if((c[i>>2]|0)==(z|0)){c[u>>2]=p;c[i>>2]=r;A=p;break}else ma()}while(0);a:do if(n|0){p=c[z+28>>2]|0;m=9104+(p<<2)|0;do if((z|0)==(c[m>>2]|0)){c[m>>2]=A;if(!A){c[2201]=t&~(1<<p);break a}}else if(n>>>0>=(c[2204]|0)>>>0){c[n+16+(((c[n+16>>2]|0)!=(z|0)&1)<<2)>>2]=A;if(!A)break a;else break}else ma();while(0);p=c[2204]|0;if(A>>>0<p>>>0)ma();c[A+24>>2]=n;m=c[z+16>>2]|0;do if(m|0)if(m>>>0<p>>>0)ma();else{c[A+16>>2]=m;c[m+24>>2]=A;break}while(0);m=c[z+20>>2]|0;if(m|0)if(m>>>0<(c[2204]|0)>>>0)ma();else{c[A+20>>2]=m;c[m+24>>2]=A;break}}while(0);if(y>>>0<16){n=y+e|0;c[z+4>>2]=n|3;t=z+n+4|0;c[t>>2]=c[t>>2]|1}else{c[z+4>>2]=e|3;c[f+4>>2]=y|1;c[f+y>>2]=y;if(k|0){t=c[2205]|0;n=k>>>3;m=8840+(n<<1<<2)|0;p=1<<n;if(g&p){n=m+8|0;r=c[n>>2]|0;if(r>>>0<(c[2204]|0)>>>0)ma();else{D=n;E=r}}else{c[2200]=g|p;D=m+8|0;E=m}c[D>>2]=t;c[E+12>>2]=t;c[t+8>>2]=E;c[t+12>>2]=m}c[2202]=y;c[2205]=f}q=z+8|0;l=b;return q|0}else F=e}else F=e}else if(a>>>0<=4294967231){m=a+11|0;t=m&-8;p=c[2201]|0;if(p){r=0-t|0;n=m>>>8;if(n)if(t>>>0>16777215)G=31;else{m=(n+1048320|0)>>>16&8;i=n<<m;n=(i+520192|0)>>>16&4;u=i<<n;i=(u+245760|0)>>>16&2;h=14-(n|m|i)+(u<<i>>>15)|0;G=t>>>(h+7|0)&1|h<<1}else G=0;h=c[9104+(G<<2)>>2]|0;b:do if(!h){H=r;I=0;J=0;K=81}else{i=r;u=0;m=t<<((G|0)==31?0:25-(G>>>1)|0);n=h;s=0;while(1){j=(c[n+4>>2]&-8)-t|0;if(j>>>0<i>>>0)if(!j){L=0;M=n;N=n;K=85;break b}else{O=j;P=n}else{O=i;P=s}j=c[n+20>>2]|0;n=c[n+16+(m>>>31<<2)>>2]|0;o=(j|0)==0|(j|0)==(n|0)?u:j;j=(n|0)==0;if(j){H=O;I=o;J=P;K=81;break}else{i=O;u=o;m=m<<((j^1)&1);s=P}}}while(0);if((K|0)==81){if((I|0)==0&(J|0)==0){h=2<<G;r=p&(h|0-h);if(!r){F=t;break}h=(r&0-r)+-1|0;r=h>>>12&16;e=h>>>r;h=e>>>5&8;f=e>>>h;e=f>>>2&4;g=f>>>e;f=g>>>1&2;k=g>>>f;g=k>>>1&1;Q=c[9104+((h|r|e|f|g)+(k>>>g)<<2)>>2]|0;R=0}else{Q=I;R=J}if(!Q){S=H;T=R}else{L=H;M=Q;N=R;K=85}}if((K|0)==85)while(1){K=0;g=(c[M+4>>2]&-8)-t|0;k=g>>>0<L>>>0;f=k?g:L;g=k?M:N;M=c[M+16+(((c[M+16>>2]|0)==0&1)<<2)>>2]|0;if(!M){S=f;T=g;break}else{L=f;N=g;K=85}}if((T|0)!=0?S>>>0<((c[2202]|0)-t|0)>>>0:0){g=c[2204]|0;if(T>>>0<g>>>0)ma();f=T+t|0;if(T>>>0>=f>>>0)ma();k=c[T+24>>2]|0;e=c[T+12>>2]|0;do if((e|0)==(T|0)){r=T+20|0;h=c[r>>2]|0;if(!h){s=T+16|0;m=c[s>>2]|0;if(!m){U=0;break}else{V=m;W=s}}else{V=h;W=r}while(1){r=V+20|0;h=c[r>>2]|0;if(h|0){V=h;W=r;continue}r=V+16|0;h=c[r>>2]|0;if(!h)break;else{V=h;W=r}}if(W>>>0<g>>>0)ma();else{c[W>>2]=0;U=V;break}}else{r=c[T+8>>2]|0;if(r>>>0<g>>>0)ma();h=r+12|0;if((c[h>>2]|0)!=(T|0))ma();s=e+8|0;if((c[s>>2]|0)==(T|0)){c[h>>2]=e;c[s>>2]=r;U=e;break}else ma()}while(0);c:do if(k){e=c[T+28>>2]|0;g=9104+(e<<2)|0;do if((T|0)==(c[g>>2]|0)){c[g>>2]=U;if(!U){r=p&~(1<<e);c[2201]=r;X=r;break c}}else if(k>>>0>=(c[2204]|0)>>>0){c[k+16+(((c[k+16>>2]|0)!=(T|0)&1)<<2)>>2]=U;if(!U){X=p;break c}else break}else ma();while(0);e=c[2204]|0;if(U>>>0<e>>>0)ma();c[U+24>>2]=k;g=c[T+16>>2]|0;do if(g|0)if(g>>>0<e>>>0)ma();else{c[U+16>>2]=g;c[g+24>>2]=U;break}while(0);g=c[T+20>>2]|0;if(g)if(g>>>0<(c[2204]|0)>>>0)ma();else{c[U+20>>2]=g;c[g+24>>2]=U;X=p;break}else X=p}else X=p;while(0);do if(S>>>0>=16){c[T+4>>2]=t|3;c[f+4>>2]=S|1;c[f+S>>2]=S;p=S>>>3;if(S>>>0<256){k=8840+(p<<1<<2)|0;g=c[2200]|0;e=1<<p;if(g&e){p=k+8|0;r=c[p>>2]|0;if(r>>>0<(c[2204]|0)>>>0)ma();else{Y=p;Z=r}}else{c[2200]=g|e;Y=k+8|0;Z=k}c[Y>>2]=f;c[Z+12>>2]=f;c[f+8>>2]=Z;c[f+12>>2]=k;break}k=S>>>8;if(k)if(S>>>0>16777215)_=31;else{e=(k+1048320|0)>>>16&8;g=k<<e;k=(g+520192|0)>>>16&4;r=g<<k;g=(r+245760|0)>>>16&2;p=14-(k|e|g)+(r<<g>>>15)|0;_=S>>>(p+7|0)&1|p<<1}else _=0;p=9104+(_<<2)|0;c[f+28>>2]=_;g=f+16|0;c[g+4>>2]=0;c[g>>2]=0;g=1<<_;if(!(X&g)){c[2201]=X|g;c[p>>2]=f;c[f+24>>2]=p;c[f+12>>2]=f;c[f+8>>2]=f;break}g=S<<((_|0)==31?0:25-(_>>>1)|0);r=c[p>>2]|0;while(1){if((c[r+4>>2]&-8|0)==(S|0)){K=139;break}$=r+16+(g>>>31<<2)|0;p=c[$>>2]|0;if(!p){K=136;break}else{g=g<<1;r=p}}if((K|0)==136)if($>>>0<(c[2204]|0)>>>0)ma();else{c[$>>2]=f;c[f+24>>2]=r;c[f+12>>2]=f;c[f+8>>2]=f;break}else if((K|0)==139){g=r+8|0;p=c[g>>2]|0;e=c[2204]|0;if(p>>>0>=e>>>0&r>>>0>=e>>>0){c[p+12>>2]=f;c[g>>2]=f;c[f+8>>2]=p;c[f+12>>2]=r;c[f+24>>2]=0;break}else ma()}}else{p=S+t|0;c[T+4>>2]=p|3;g=T+p+4|0;c[g>>2]=c[g>>2]|1}while(0);q=T+8|0;l=b;return q|0}else F=t}else F=t}else F=-1;while(0);T=c[2202]|0;if(T>>>0>=F>>>0){S=T-F|0;$=c[2205]|0;if(S>>>0>15){_=$+F|0;c[2205]=_;c[2202]=S;c[_+4>>2]=S|1;c[_+S>>2]=S;c[$+4>>2]=F|3}else{c[2202]=0;c[2205]=0;c[$+4>>2]=T|3;S=$+T+4|0;c[S>>2]=c[S>>2]|1}q=$+8|0;l=b;return q|0}$=c[2203]|0;if($>>>0>F>>>0){S=$-F|0;c[2203]=S;T=c[2206]|0;_=T+F|0;c[2206]=_;c[_+4>>2]=S|1;c[T+4>>2]=F|3;q=T+8|0;l=b;return q|0}if(!(c[2318]|0)){c[2320]=4096;c[2319]=4096;c[2321]=-1;c[2322]=-1;c[2323]=0;c[2311]=0;T=d&-16^1431655768;c[d>>2]=T;c[2318]=T;aa=4096}else aa=c[2320]|0;T=F+48|0;d=F+47|0;S=aa+d|0;_=0-aa|0;aa=S&_;if(aa>>>0<=F>>>0){q=0;l=b;return q|0}X=c[2310]|0;if(X|0?(Z=c[2308]|0,Y=Z+aa|0,Y>>>0<=Z>>>0|Y>>>0>X>>>0):0){q=0;l=b;return q|0}d:do if(!(c[2311]&4)){X=c[2206]|0;e:do if(X){Y=9248;while(1){Z=c[Y>>2]|0;if(Z>>>0<=X>>>0?(ba=Y+4|0,(Z+(c[ba>>2]|0)|0)>>>0>X>>>0):0)break;Z=c[Y+8>>2]|0;if(!Z){K=163;break e}else Y=Z}r=S-$&_;if(r>>>0<2147483647){Z=se(r|0)|0;if((Z|0)==((c[Y>>2]|0)+(c[ba>>2]|0)|0))if((Z|0)==(-1|0))ca=r;else{da=Z;ea=r;K=180;break d}else{fa=Z;ga=r;K=171}}else ca=0}else K=163;while(0);do if((K|0)==163){X=se(0)|0;if((X|0)!=(-1|0)?(t=X,r=c[2319]|0,Z=r+-1|0,U=((Z&t|0)==0?0:(Z+t&0-r)-t|0)+aa|0,t=c[2308]|0,r=U+t|0,U>>>0>F>>>0&U>>>0<2147483647):0){Z=c[2310]|0;if(Z|0?r>>>0<=t>>>0|r>>>0>Z>>>0:0){ca=0;break}Z=se(U|0)|0;if((Z|0)==(X|0)){da=X;ea=U;K=180;break d}else{fa=Z;ga=U;K=171}}else ca=0}while(0);do if((K|0)==171){U=0-ga|0;if(!(T>>>0>ga>>>0&(ga>>>0<2147483647&(fa|0)!=(-1|0))))if((fa|0)==(-1|0)){ca=0;break}else{da=fa;ea=ga;K=180;break d}Z=c[2320]|0;X=d-ga+Z&0-Z;if(X>>>0>=2147483647){da=fa;ea=ga;K=180;break d}if((se(X|0)|0)==(-1|0)){se(U|0)|0;ca=0;break}else{da=fa;ea=X+ga|0;K=180;break d}}while(0);c[2311]=c[2311]|4;ha=ca;K=178}else{ha=0;K=178}while(0);if(((K|0)==178?aa>>>0<2147483647:0)?(ca=se(aa|0)|0,aa=se(0)|0,ga=aa-ca|0,fa=ga>>>0>(F+40|0)>>>0,!((ca|0)==(-1|0)|fa^1|ca>>>0<aa>>>0&((ca|0)!=(-1|0)&(aa|0)!=(-1|0))^1)):0){da=ca;ea=fa?ga:ha;K=180}if((K|0)==180){ha=(c[2308]|0)+ea|0;c[2308]=ha;if(ha>>>0>(c[2309]|0)>>>0)c[2309]=ha;ha=c[2206]|0;do if(ha){ga=9248;while(1){ia=c[ga>>2]|0;ja=ga+4|0;ka=c[ja>>2]|0;if((da|0)==(ia+ka|0)){K=190;break}fa=c[ga+8>>2]|0;if(!fa)break;else ga=fa}if(((K|0)==190?(c[ga+12>>2]&8|0)==0:0)?ha>>>0<da>>>0&ha>>>0>=ia>>>0:0){c[ja>>2]=ka+ea;fa=ha+8|0;ca=(fa&7|0)==0?0:0-fa&7;fa=ha+ca|0;aa=(c[2203]|0)+(ea-ca)|0;c[2206]=fa;c[2203]=aa;c[fa+4>>2]=aa|1;c[fa+aa+4>>2]=40;c[2207]=c[2322];break}aa=c[2204]|0;if(da>>>0<aa>>>0){c[2204]=da;la=da}else la=aa;aa=da+ea|0;fa=9248;while(1){if((c[fa>>2]|0)==(aa|0)){K=198;break}ca=c[fa+8>>2]|0;if(!ca)break;else fa=ca}if((K|0)==198?(c[fa+12>>2]&8|0)==0:0){c[fa>>2]=da;ga=fa+4|0;c[ga>>2]=(c[ga>>2]|0)+ea;ga=da+8|0;ca=da+((ga&7|0)==0?0:0-ga&7)|0;ga=aa+8|0;d=aa+((ga&7|0)==0?0:0-ga&7)|0;ga=ca+F|0;T=d-ca-F|0;c[ca+4>>2]=F|3;do if((d|0)!=(ha|0)){if((d|0)==(c[2205]|0)){ba=(c[2202]|0)+T|0;c[2202]=ba;c[2205]=ga;c[ga+4>>2]=ba|1;c[ga+ba>>2]=ba;break}ba=c[d+4>>2]|0;if((ba&3|0)==1){_=ba&-8;$=ba>>>3;f:do if(ba>>>0>=256){S=c[d+24>>2]|0;X=c[d+12>>2]|0;do if((X|0)==(d|0)){U=d+16|0;Z=U+4|0;r=c[Z>>2]|0;if(!r){t=c[U>>2]|0;if(!t){na=0;break}else{oa=t;pa=U}}else{oa=r;pa=Z}while(1){Z=oa+20|0;r=c[Z>>2]|0;if(r|0){oa=r;pa=Z;continue}Z=oa+16|0;r=c[Z>>2]|0;if(!r)break;else{oa=r;pa=Z}}if(pa>>>0<la>>>0)ma();else{c[pa>>2]=0;na=oa;break}}else{Z=c[d+8>>2]|0;if(Z>>>0<la>>>0)ma();r=Z+12|0;if((c[r>>2]|0)!=(d|0))ma();U=X+8|0;if((c[U>>2]|0)==(d|0)){c[r>>2]=X;c[U>>2]=Z;na=X;break}else ma()}while(0);if(!S)break;X=c[d+28>>2]|0;Z=9104+(X<<2)|0;do if((d|0)!=(c[Z>>2]|0))if(S>>>0>=(c[2204]|0)>>>0){c[S+16+(((c[S+16>>2]|0)!=(d|0)&1)<<2)>>2]=na;if(!na)break f;else break}else ma();else{c[Z>>2]=na;if(na|0)break;c[2201]=c[2201]&~(1<<X);break f}while(0);X=c[2204]|0;if(na>>>0<X>>>0)ma();c[na+24>>2]=S;Z=d+16|0;U=c[Z>>2]|0;do if(U|0)if(U>>>0<X>>>0)ma();else{c[na+16>>2]=U;c[U+24>>2]=na;break}while(0);U=c[Z+4>>2]|0;if(!U)break;if(U>>>0<(c[2204]|0)>>>0)ma();else{c[na+20>>2]=U;c[U+24>>2]=na;break}}else{U=c[d+8>>2]|0;X=c[d+12>>2]|0;S=8840+($<<1<<2)|0;do if((U|0)!=(S|0)){if(U>>>0<la>>>0)ma();if((c[U+12>>2]|0)==(d|0))break;ma()}while(0);if((X|0)==(U|0)){c[2200]=c[2200]&~(1<<$);break}do if((X|0)==(S|0))qa=X+8|0;else{if(X>>>0<la>>>0)ma();Z=X+8|0;if((c[Z>>2]|0)==(d|0)){qa=Z;break}ma()}while(0);c[U+12>>2]=X;c[qa>>2]=U}while(0);ra=d+_|0;sa=_+T|0}else{ra=d;sa=T}$=ra+4|0;c[$>>2]=c[$>>2]&-2;c[ga+4>>2]=sa|1;c[ga+sa>>2]=sa;$=sa>>>3;if(sa>>>0<256){ba=8840+($<<1<<2)|0;Y=c[2200]|0;S=1<<$;do if(!(Y&S)){c[2200]=Y|S;ta=ba+8|0;ua=ba}else{$=ba+8|0;Z=c[$>>2]|0;if(Z>>>0>=(c[2204]|0)>>>0){ta=$;ua=Z;break}ma()}while(0);c[ta>>2]=ga;c[ua+12>>2]=ga;c[ga+8>>2]=ua;c[ga+12>>2]=ba;break}S=sa>>>8;do if(!S)va=0;else{if(sa>>>0>16777215){va=31;break}Y=(S+1048320|0)>>>16&8;_=S<<Y;Z=(_+520192|0)>>>16&4;$=_<<Z;_=($+245760|0)>>>16&2;r=14-(Z|Y|_)+($<<_>>>15)|0;va=sa>>>(r+7|0)&1|r<<1}while(0);S=9104+(va<<2)|0;c[ga+28>>2]=va;ba=ga+16|0;c[ba+4>>2]=0;c[ba>>2]=0;ba=c[2201]|0;r=1<<va;if(!(ba&r)){c[2201]=ba|r;c[S>>2]=ga;c[ga+24>>2]=S;c[ga+12>>2]=ga;c[ga+8>>2]=ga;break}r=sa<<((va|0)==31?0:25-(va>>>1)|0);ba=c[S>>2]|0;while(1){if((c[ba+4>>2]&-8|0)==(sa|0)){K=265;break}wa=ba+16+(r>>>31<<2)|0;S=c[wa>>2]|0;if(!S){K=262;break}else{r=r<<1;ba=S}}if((K|0)==262)if(wa>>>0<(c[2204]|0)>>>0)ma();else{c[wa>>2]=ga;c[ga+24>>2]=ba;c[ga+12>>2]=ga;c[ga+8>>2]=ga;break}else if((K|0)==265){r=ba+8|0;S=c[r>>2]|0;_=c[2204]|0;if(S>>>0>=_>>>0&ba>>>0>=_>>>0){c[S+12>>2]=ga;c[r>>2]=ga;c[ga+8>>2]=S;c[ga+12>>2]=ba;c[ga+24>>2]=0;break}else ma()}}else{S=(c[2203]|0)+T|0;c[2203]=S;c[2206]=ga;c[ga+4>>2]=S|1}while(0);q=ca+8|0;l=b;return q|0}ga=9248;while(1){T=c[ga>>2]|0;if(T>>>0<=ha>>>0?(xa=T+(c[ga+4>>2]|0)|0,xa>>>0>ha>>>0):0)break;ga=c[ga+8>>2]|0}ga=xa+-47|0;ca=ga+8|0;T=ga+((ca&7|0)==0?0:0-ca&7)|0;ca=ha+16|0;ga=T>>>0<ca>>>0?ha:T;T=ga+8|0;d=da+8|0;aa=(d&7|0)==0?0:0-d&7;d=da+aa|0;fa=ea+-40-aa|0;c[2206]=d;c[2203]=fa;c[d+4>>2]=fa|1;c[d+fa+4>>2]=40;c[2207]=c[2322];fa=ga+4|0;c[fa>>2]=27;c[T>>2]=c[2312];c[T+4>>2]=c[2313];c[T+8>>2]=c[2314];c[T+12>>2]=c[2315];c[2312]=da;c[2313]=ea;c[2315]=0;c[2314]=T;T=ga+24|0;do{d=T;T=T+4|0;c[T>>2]=7}while((d+8|0)>>>0<xa>>>0);if((ga|0)!=(ha|0)){T=ga-ha|0;c[fa>>2]=c[fa>>2]&-2;c[ha+4>>2]=T|1;c[ga>>2]=T;d=T>>>3;if(T>>>0<256){aa=8840+(d<<1<<2)|0;S=c[2200]|0;r=1<<d;if(S&r){d=aa+8|0;_=c[d>>2]|0;if(_>>>0<(c[2204]|0)>>>0)ma();else{ya=d;za=_}}else{c[2200]=S|r;ya=aa+8|0;za=aa}c[ya>>2]=ha;c[za+12>>2]=ha;c[ha+8>>2]=za;c[ha+12>>2]=aa;break}aa=T>>>8;if(aa)if(T>>>0>16777215)Aa=31;else{r=(aa+1048320|0)>>>16&8;S=aa<<r;aa=(S+520192|0)>>>16&4;_=S<<aa;S=(_+245760|0)>>>16&2;d=14-(aa|r|S)+(_<<S>>>15)|0;Aa=T>>>(d+7|0)&1|d<<1}else Aa=0;d=9104+(Aa<<2)|0;c[ha+28>>2]=Aa;c[ha+20>>2]=0;c[ca>>2]=0;S=c[2201]|0;_=1<<Aa;if(!(S&_)){c[2201]=S|_;c[d>>2]=ha;c[ha+24>>2]=d;c[ha+12>>2]=ha;c[ha+8>>2]=ha;break}_=T<<((Aa|0)==31?0:25-(Aa>>>1)|0);S=c[d>>2]|0;while(1){if((c[S+4>>2]&-8|0)==(T|0)){K=292;break}Ba=S+16+(_>>>31<<2)|0;d=c[Ba>>2]|0;if(!d){K=289;break}else{_=_<<1;S=d}}if((K|0)==289)if(Ba>>>0<(c[2204]|0)>>>0)ma();else{c[Ba>>2]=ha;c[ha+24>>2]=S;c[ha+12>>2]=ha;c[ha+8>>2]=ha;break}else if((K|0)==292){_=S+8|0;T=c[_>>2]|0;ca=c[2204]|0;if(T>>>0>=ca>>>0&S>>>0>=ca>>>0){c[T+12>>2]=ha;c[_>>2]=ha;c[ha+8>>2]=T;c[ha+12>>2]=S;c[ha+24>>2]=0;break}else ma()}}}else{T=c[2204]|0;if((T|0)==0|da>>>0<T>>>0)c[2204]=da;c[2312]=da;c[2313]=ea;c[2315]=0;c[2209]=c[2318];c[2208]=-1;T=0;do{_=8840+(T<<1<<2)|0;c[_+12>>2]=_;c[_+8>>2]=_;T=T+1|0}while((T|0)!=32);T=da+8|0;S=(T&7|0)==0?0:0-T&7;T=da+S|0;_=ea+-40-S|0;c[2206]=T;c[2203]=_;c[T+4>>2]=_|1;c[T+_+4>>2]=40;c[2207]=c[2322]}while(0);ea=c[2203]|0;if(ea>>>0>F>>>0){da=ea-F|0;c[2203]=da;ea=c[2206]|0;ha=ea+F|0;c[2206]=ha;c[ha+4>>2]=da|1;c[ea+4>>2]=F|3;q=ea+8|0;l=b;return q|0}}c[(nd()|0)>>2]=12;q=0;l=b;return q|0}function ce(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;if(!a)return;b=a+-8|0;d=c[2204]|0;if(b>>>0<d>>>0)ma();e=c[a+-4>>2]|0;a=e&3;if((a|0)==1)ma();f=e&-8;g=b+f|0;a:do if(!(e&1)){h=c[b>>2]|0;if(!a)return;i=b+(0-h)|0;j=h+f|0;if(i>>>0<d>>>0)ma();if((i|0)==(c[2205]|0)){k=g+4|0;l=c[k>>2]|0;if((l&3|0)!=3){m=i;n=i;o=j;break}c[2202]=j;c[k>>2]=l&-2;c[i+4>>2]=j|1;c[i+j>>2]=j;return}l=h>>>3;if(h>>>0<256){h=c[i+8>>2]|0;k=c[i+12>>2]|0;p=8840+(l<<1<<2)|0;if((h|0)!=(p|0)){if(h>>>0<d>>>0)ma();if((c[h+12>>2]|0)!=(i|0))ma()}if((k|0)==(h|0)){c[2200]=c[2200]&~(1<<l);m=i;n=i;o=j;break}if((k|0)!=(p|0)){if(k>>>0<d>>>0)ma();p=k+8|0;if((c[p>>2]|0)==(i|0))q=p;else ma()}else q=k+8|0;c[h+12>>2]=k;c[q>>2]=h;m=i;n=i;o=j;break}h=c[i+24>>2]|0;k=c[i+12>>2]|0;do if((k|0)==(i|0)){p=i+16|0;l=p+4|0;r=c[l>>2]|0;if(!r){s=c[p>>2]|0;if(!s){t=0;break}else{u=s;v=p}}else{u=r;v=l}while(1){l=u+20|0;r=c[l>>2]|0;if(r|0){u=r;v=l;continue}l=u+16|0;r=c[l>>2]|0;if(!r)break;else{u=r;v=l}}if(v>>>0<d>>>0)ma();else{c[v>>2]=0;t=u;break}}else{l=c[i+8>>2]|0;if(l>>>0<d>>>0)ma();r=l+12|0;if((c[r>>2]|0)!=(i|0))ma();p=k+8|0;if((c[p>>2]|0)==(i|0)){c[r>>2]=k;c[p>>2]=l;t=k;break}else ma()}while(0);if(h){k=c[i+28>>2]|0;l=9104+(k<<2)|0;do if((i|0)==(c[l>>2]|0)){c[l>>2]=t;if(!t){c[2201]=c[2201]&~(1<<k);m=i;n=i;o=j;break a}}else if(h>>>0>=(c[2204]|0)>>>0){c[h+16+(((c[h+16>>2]|0)!=(i|0)&1)<<2)>>2]=t;if(!t){m=i;n=i;o=j;break a}else break}else ma();while(0);k=c[2204]|0;if(t>>>0<k>>>0)ma();c[t+24>>2]=h;l=i+16|0;p=c[l>>2]|0;do if(p|0)if(p>>>0<k>>>0)ma();else{c[t+16>>2]=p;c[p+24>>2]=t;break}while(0);p=c[l+4>>2]|0;if(p)if(p>>>0<(c[2204]|0)>>>0)ma();else{c[t+20>>2]=p;c[p+24>>2]=t;m=i;n=i;o=j;break}else{m=i;n=i;o=j}}else{m=i;n=i;o=j}}else{m=b;n=b;o=f}while(0);if(m>>>0>=g>>>0)ma();f=g+4|0;b=c[f>>2]|0;if(!(b&1))ma();if(!(b&2)){t=c[2205]|0;if((g|0)==(c[2206]|0)){d=(c[2203]|0)+o|0;c[2203]=d;c[2206]=n;c[n+4>>2]=d|1;if((n|0)!=(t|0))return;c[2205]=0;c[2202]=0;return}if((g|0)==(t|0)){t=(c[2202]|0)+o|0;c[2202]=t;c[2205]=m;c[n+4>>2]=t|1;c[m+t>>2]=t;return}t=(b&-8)+o|0;d=b>>>3;b:do if(b>>>0>=256){u=c[g+24>>2]|0;v=c[g+12>>2]|0;do if((v|0)==(g|0)){q=g+16|0;a=q+4|0;e=c[a>>2]|0;if(!e){p=c[q>>2]|0;if(!p){w=0;break}else{x=p;y=q}}else{x=e;y=a}while(1){a=x+20|0;e=c[a>>2]|0;if(e|0){x=e;y=a;continue}a=x+16|0;e=c[a>>2]|0;if(!e)break;else{x=e;y=a}}if(y>>>0<(c[2204]|0)>>>0)ma();else{c[y>>2]=0;w=x;break}}else{a=c[g+8>>2]|0;if(a>>>0<(c[2204]|0)>>>0)ma();e=a+12|0;if((c[e>>2]|0)!=(g|0))ma();q=v+8|0;if((c[q>>2]|0)==(g|0)){c[e>>2]=v;c[q>>2]=a;w=v;break}else ma()}while(0);if(u|0){v=c[g+28>>2]|0;j=9104+(v<<2)|0;do if((g|0)==(c[j>>2]|0)){c[j>>2]=w;if(!w){c[2201]=c[2201]&~(1<<v);break b}}else if(u>>>0>=(c[2204]|0)>>>0){c[u+16+(((c[u+16>>2]|0)!=(g|0)&1)<<2)>>2]=w;if(!w)break b;else break}else ma();while(0);v=c[2204]|0;if(w>>>0<v>>>0)ma();c[w+24>>2]=u;j=g+16|0;i=c[j>>2]|0;do if(i|0)if(i>>>0<v>>>0)ma();else{c[w+16>>2]=i;c[i+24>>2]=w;break}while(0);i=c[j+4>>2]|0;if(i|0)if(i>>>0<(c[2204]|0)>>>0)ma();else{c[w+20>>2]=i;c[i+24>>2]=w;break}}}else{i=c[g+8>>2]|0;v=c[g+12>>2]|0;u=8840+(d<<1<<2)|0;if((i|0)!=(u|0)){if(i>>>0<(c[2204]|0)>>>0)ma();if((c[i+12>>2]|0)!=(g|0))ma()}if((v|0)==(i|0)){c[2200]=c[2200]&~(1<<d);break}if((v|0)!=(u|0)){if(v>>>0<(c[2204]|0)>>>0)ma();u=v+8|0;if((c[u>>2]|0)==(g|0))z=u;else ma()}else z=v+8|0;c[i+12>>2]=v;c[z>>2]=i}while(0);c[n+4>>2]=t|1;c[m+t>>2]=t;if((n|0)==(c[2205]|0)){c[2202]=t;return}else A=t}else{c[f>>2]=b&-2;c[n+4>>2]=o|1;c[m+o>>2]=o;A=o}o=A>>>3;if(A>>>0<256){m=8840+(o<<1<<2)|0;b=c[2200]|0;f=1<<o;if(b&f){o=m+8|0;t=c[o>>2]|0;if(t>>>0<(c[2204]|0)>>>0)ma();else{B=o;C=t}}else{c[2200]=b|f;B=m+8|0;C=m}c[B>>2]=n;c[C+12>>2]=n;c[n+8>>2]=C;c[n+12>>2]=m;return}m=A>>>8;if(m)if(A>>>0>16777215)D=31;else{C=(m+1048320|0)>>>16&8;B=m<<C;m=(B+520192|0)>>>16&4;f=B<<m;B=(f+245760|0)>>>16&2;b=14-(m|C|B)+(f<<B>>>15)|0;D=A>>>(b+7|0)&1|b<<1}else D=0;b=9104+(D<<2)|0;c[n+28>>2]=D;c[n+20>>2]=0;c[n+16>>2]=0;B=c[2201]|0;f=1<<D;do if(B&f){C=A<<((D|0)==31?0:25-(D>>>1)|0);m=c[b>>2]|0;while(1){if((c[m+4>>2]&-8|0)==(A|0)){E=124;break}F=m+16+(C>>>31<<2)|0;t=c[F>>2]|0;if(!t){E=121;break}else{C=C<<1;m=t}}if((E|0)==121)if(F>>>0<(c[2204]|0)>>>0)ma();else{c[F>>2]=n;c[n+24>>2]=m;c[n+12>>2]=n;c[n+8>>2]=n;break}else if((E|0)==124){C=m+8|0;j=c[C>>2]|0;t=c[2204]|0;if(j>>>0>=t>>>0&m>>>0>=t>>>0){c[j+12>>2]=n;c[C>>2]=n;c[n+8>>2]=j;c[n+12>>2]=m;c[n+24>>2]=0;break}else ma()}}else{c[2201]=B|f;c[b>>2]=n;c[n+24>>2]=b;c[n+12>>2]=n;c[n+8>>2]=n}while(0);n=(c[2208]|0)+-1|0;c[2208]=n;if(!n)G=9256;else return;while(1){n=c[G>>2]|0;if(!n)break;else G=n+8|0}c[2208]=-1;return}function de(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!a){d=be(b)|0;return d|0}if(b>>>0>4294967231){c[(nd()|0)>>2]=12;d=0;return d|0}e=ee(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(e|0){d=e+8|0;return d|0}e=be(b)|0;if(!e){d=0;return d|0}f=c[a+-4>>2]|0;g=(f&-8)-((f&3|0)==0?8:4)|0;oe(e|0,a|0,(g>>>0<b>>>0?g:b)|0)|0;ce(a);d=e;return d|0}function ee(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=a+4|0;e=c[d>>2]|0;f=e&-8;g=a+f|0;h=c[2204]|0;i=e&3;if(!((i|0)!=1&a>>>0>=h>>>0&a>>>0<g>>>0))ma();j=c[g+4>>2]|0;if(!(j&1))ma();if(!i){if(b>>>0<256){k=0;return k|0}if(f>>>0>=(b+4|0)>>>0?(f-b|0)>>>0<=c[2320]<<1>>>0:0){k=a;return k|0}k=0;return k|0}if(f>>>0>=b>>>0){i=f-b|0;if(i>>>0<=15){k=a;return k|0}l=a+b|0;c[d>>2]=e&1|b|2;c[l+4>>2]=i|3;m=l+i+4|0;c[m>>2]=c[m>>2]|1;fe(l,i);k=a;return k|0}if((g|0)==(c[2206]|0)){i=(c[2203]|0)+f|0;l=i-b|0;m=a+b|0;if(i>>>0<=b>>>0){k=0;return k|0}c[d>>2]=e&1|b|2;c[m+4>>2]=l|1;c[2206]=m;c[2203]=l;k=a;return k|0}if((g|0)==(c[2205]|0)){l=(c[2202]|0)+f|0;if(l>>>0<b>>>0){k=0;return k|0}m=l-b|0;i=e&1;if(m>>>0>15){n=a+b|0;o=n+m|0;c[d>>2]=i|b|2;c[n+4>>2]=m|1;c[o>>2]=m;p=o+4|0;c[p>>2]=c[p>>2]&-2;q=n;r=m}else{c[d>>2]=i|l|2;i=a+l+4|0;c[i>>2]=c[i>>2]|1;q=0;r=0}c[2202]=r;c[2205]=q;k=a;return k|0}if(j&2|0){k=0;return k|0}q=(j&-8)+f|0;if(q>>>0<b>>>0){k=0;return k|0}f=q-b|0;r=j>>>3;a:do if(j>>>0>=256){i=c[g+24>>2]|0;l=c[g+12>>2]|0;do if((l|0)==(g|0)){m=g+16|0;n=m+4|0;p=c[n>>2]|0;if(!p){o=c[m>>2]|0;if(!o){s=0;break}else{t=o;u=m}}else{t=p;u=n}while(1){n=t+20|0;p=c[n>>2]|0;if(p|0){t=p;u=n;continue}n=t+16|0;p=c[n>>2]|0;if(!p)break;else{t=p;u=n}}if(u>>>0<h>>>0)ma();else{c[u>>2]=0;s=t;break}}else{n=c[g+8>>2]|0;if(n>>>0<h>>>0)ma();p=n+12|0;if((c[p>>2]|0)!=(g|0))ma();m=l+8|0;if((c[m>>2]|0)==(g|0)){c[p>>2]=l;c[m>>2]=n;s=l;break}else ma()}while(0);if(i|0){l=c[g+28>>2]|0;n=9104+(l<<2)|0;do if((g|0)==(c[n>>2]|0)){c[n>>2]=s;if(!s){c[2201]=c[2201]&~(1<<l);break a}}else if(i>>>0>=(c[2204]|0)>>>0){c[i+16+(((c[i+16>>2]|0)!=(g|0)&1)<<2)>>2]=s;if(!s)break a;else break}else ma();while(0);l=c[2204]|0;if(s>>>0<l>>>0)ma();c[s+24>>2]=i;n=g+16|0;m=c[n>>2]|0;do if(m|0)if(m>>>0<l>>>0)ma();else{c[s+16>>2]=m;c[m+24>>2]=s;break}while(0);m=c[n+4>>2]|0;if(m|0)if(m>>>0<(c[2204]|0)>>>0)ma();else{c[s+20>>2]=m;c[m+24>>2]=s;break}}}else{m=c[g+8>>2]|0;l=c[g+12>>2]|0;i=8840+(r<<1<<2)|0;if((m|0)!=(i|0)){if(m>>>0<h>>>0)ma();if((c[m+12>>2]|0)!=(g|0))ma()}if((l|0)==(m|0)){c[2200]=c[2200]&~(1<<r);break}if((l|0)!=(i|0)){if(l>>>0<h>>>0)ma();i=l+8|0;if((c[i>>2]|0)==(g|0))v=i;else ma()}else v=l+8|0;c[m+12>>2]=l;c[v>>2]=m}while(0);v=e&1;if(f>>>0<16){c[d>>2]=q|v|2;e=a+q+4|0;c[e>>2]=c[e>>2]|1;k=a;return k|0}else{e=a+b|0;c[d>>2]=v|b|2;c[e+4>>2]=f|3;b=e+f+4|0;c[b>>2]=c[b>>2]|1;fe(e,f);k=a;return k|0}return 0}function fe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;d=a+b|0;e=c[a+4>>2]|0;a:do if(!(e&1)){f=c[a>>2]|0;if(!(e&3))return;g=a+(0-f)|0;h=f+b|0;i=c[2204]|0;if(g>>>0<i>>>0)ma();if((g|0)==(c[2205]|0)){j=d+4|0;k=c[j>>2]|0;if((k&3|0)!=3){l=g;m=h;break}c[2202]=h;c[j>>2]=k&-2;c[g+4>>2]=h|1;c[g+h>>2]=h;return}k=f>>>3;if(f>>>0<256){f=c[g+8>>2]|0;j=c[g+12>>2]|0;n=8840+(k<<1<<2)|0;if((f|0)!=(n|0)){if(f>>>0<i>>>0)ma();if((c[f+12>>2]|0)!=(g|0))ma()}if((j|0)==(f|0)){c[2200]=c[2200]&~(1<<k);l=g;m=h;break}if((j|0)!=(n|0)){if(j>>>0<i>>>0)ma();n=j+8|0;if((c[n>>2]|0)==(g|0))o=n;else ma()}else o=j+8|0;c[f+12>>2]=j;c[o>>2]=f;l=g;m=h;break}f=c[g+24>>2]|0;j=c[g+12>>2]|0;do if((j|0)==(g|0)){n=g+16|0;k=n+4|0;p=c[k>>2]|0;if(!p){q=c[n>>2]|0;if(!q){r=0;break}else{s=q;t=n}}else{s=p;t=k}while(1){k=s+20|0;p=c[k>>2]|0;if(p|0){s=p;t=k;continue}k=s+16|0;p=c[k>>2]|0;if(!p)break;else{s=p;t=k}}if(t>>>0<i>>>0)ma();else{c[t>>2]=0;r=s;break}}else{k=c[g+8>>2]|0;if(k>>>0<i>>>0)ma();p=k+12|0;if((c[p>>2]|0)!=(g|0))ma();n=j+8|0;if((c[n>>2]|0)==(g|0)){c[p>>2]=j;c[n>>2]=k;r=j;break}else ma()}while(0);if(f){j=c[g+28>>2]|0;i=9104+(j<<2)|0;do if((g|0)==(c[i>>2]|0)){c[i>>2]=r;if(!r){c[2201]=c[2201]&~(1<<j);l=g;m=h;break a}}else if(f>>>0>=(c[2204]|0)>>>0){c[f+16+(((c[f+16>>2]|0)!=(g|0)&1)<<2)>>2]=r;if(!r){l=g;m=h;break a}else break}else ma();while(0);j=c[2204]|0;if(r>>>0<j>>>0)ma();c[r+24>>2]=f;i=g+16|0;k=c[i>>2]|0;do if(k|0)if(k>>>0<j>>>0)ma();else{c[r+16>>2]=k;c[k+24>>2]=r;break}while(0);k=c[i+4>>2]|0;if(k)if(k>>>0<(c[2204]|0)>>>0)ma();else{c[r+20>>2]=k;c[k+24>>2]=r;l=g;m=h;break}else{l=g;m=h}}else{l=g;m=h}}else{l=a;m=b}while(0);b=c[2204]|0;if(d>>>0<b>>>0)ma();a=d+4|0;r=c[a>>2]|0;if(!(r&2)){s=c[2205]|0;if((d|0)==(c[2206]|0)){t=(c[2203]|0)+m|0;c[2203]=t;c[2206]=l;c[l+4>>2]=t|1;if((l|0)!=(s|0))return;c[2205]=0;c[2202]=0;return}if((d|0)==(s|0)){s=(c[2202]|0)+m|0;c[2202]=s;c[2205]=l;c[l+4>>2]=s|1;c[l+s>>2]=s;return}s=(r&-8)+m|0;t=r>>>3;b:do if(r>>>0>=256){o=c[d+24>>2]|0;e=c[d+12>>2]|0;do if((e|0)==(d|0)){k=d+16|0;j=k+4|0;f=c[j>>2]|0;if(!f){n=c[k>>2]|0;if(!n){u=0;break}else{v=n;w=k}}else{v=f;w=j}while(1){j=v+20|0;f=c[j>>2]|0;if(f|0){v=f;w=j;continue}j=v+16|0;f=c[j>>2]|0;if(!f)break;else{v=f;w=j}}if(w>>>0<b>>>0)ma();else{c[w>>2]=0;u=v;break}}else{j=c[d+8>>2]|0;if(j>>>0<b>>>0)ma();f=j+12|0;if((c[f>>2]|0)!=(d|0))ma();k=e+8|0;if((c[k>>2]|0)==(d|0)){c[f>>2]=e;c[k>>2]=j;u=e;break}else ma()}while(0);if(o|0){e=c[d+28>>2]|0;h=9104+(e<<2)|0;do if((d|0)==(c[h>>2]|0)){c[h>>2]=u;if(!u){c[2201]=c[2201]&~(1<<e);break b}}else if(o>>>0>=(c[2204]|0)>>>0){c[o+16+(((c[o+16>>2]|0)!=(d|0)&1)<<2)>>2]=u;if(!u)break b;else break}else ma();while(0);e=c[2204]|0;if(u>>>0<e>>>0)ma();c[u+24>>2]=o;h=d+16|0;g=c[h>>2]|0;do if(g|0)if(g>>>0<e>>>0)ma();else{c[u+16>>2]=g;c[g+24>>2]=u;break}while(0);g=c[h+4>>2]|0;if(g|0)if(g>>>0<(c[2204]|0)>>>0)ma();else{c[u+20>>2]=g;c[g+24>>2]=u;break}}}else{g=c[d+8>>2]|0;e=c[d+12>>2]|0;o=8840+(t<<1<<2)|0;if((g|0)!=(o|0)){if(g>>>0<b>>>0)ma();if((c[g+12>>2]|0)!=(d|0))ma()}if((e|0)==(g|0)){c[2200]=c[2200]&~(1<<t);break}if((e|0)!=(o|0)){if(e>>>0<b>>>0)ma();o=e+8|0;if((c[o>>2]|0)==(d|0))x=o;else ma()}else x=e+8|0;c[g+12>>2]=e;c[x>>2]=g}while(0);c[l+4>>2]=s|1;c[l+s>>2]=s;if((l|0)==(c[2205]|0)){c[2202]=s;return}else y=s}else{c[a>>2]=r&-2;c[l+4>>2]=m|1;c[l+m>>2]=m;y=m}m=y>>>3;if(y>>>0<256){r=8840+(m<<1<<2)|0;a=c[2200]|0;s=1<<m;if(a&s){m=r+8|0;x=c[m>>2]|0;if(x>>>0<(c[2204]|0)>>>0)ma();else{z=m;A=x}}else{c[2200]=a|s;z=r+8|0;A=r}c[z>>2]=l;c[A+12>>2]=l;c[l+8>>2]=A;c[l+12>>2]=r;return}r=y>>>8;if(r)if(y>>>0>16777215)B=31;else{A=(r+1048320|0)>>>16&8;z=r<<A;r=(z+520192|0)>>>16&4;s=z<<r;z=(s+245760|0)>>>16&2;a=14-(r|A|z)+(s<<z>>>15)|0;B=y>>>(a+7|0)&1|a<<1}else B=0;a=9104+(B<<2)|0;c[l+28>>2]=B;c[l+20>>2]=0;c[l+16>>2]=0;z=c[2201]|0;s=1<<B;if(!(z&s)){c[2201]=z|s;c[a>>2]=l;c[l+24>>2]=a;c[l+12>>2]=l;c[l+8>>2]=l;return}s=y<<((B|0)==31?0:25-(B>>>1)|0);B=c[a>>2]|0;while(1){if((c[B+4>>2]&-8|0)==(y|0)){C=121;break}D=B+16+(s>>>31<<2)|0;a=c[D>>2]|0;if(!a){C=118;break}else{s=s<<1;B=a}}if((C|0)==118){if(D>>>0<(c[2204]|0)>>>0)ma();c[D>>2]=l;c[l+24>>2]=B;c[l+12>>2]=l;c[l+8>>2]=l;return}else if((C|0)==121){C=B+8|0;D=c[C>>2]|0;s=c[2204]|0;if(!(D>>>0>=s>>>0&B>>>0>=s>>>0))ma();c[D+12>>2]=l;c[C>>2]=l;c[l+8>>2]=D;c[l+12>>2]=B;c[l+24>>2]=0;return}}function ge(){}function he(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=b-d>>>0;e=b-d-(c>>>0>a>>>0|0)>>>0;return (D=e,a-c>>>0|0)|0}function ie(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a+c>>>0;return (D=b+d+(e>>>0<a>>>0|0)>>>0,e|0)|0}function je(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+e|0;d=d&255;if((e|0)>=67){while(b&3){a[b>>0]=d;b=b+1|0}g=f&-4|0;h=g-64|0;i=d|d<<8|d<<16|d<<24;while((b|0)<=(h|0)){c[b>>2]=i;c[b+4>>2]=i;c[b+8>>2]=i;c[b+12>>2]=i;c[b+16>>2]=i;c[b+20>>2]=i;c[b+24>>2]=i;c[b+28>>2]=i;c[b+32>>2]=i;c[b+36>>2]=i;c[b+40>>2]=i;c[b+44>>2]=i;c[b+48>>2]=i;c[b+52>>2]=i;c[b+56>>2]=i;c[b+60>>2]=i;b=b+64|0}while((b|0)<(g|0)){c[b>>2]=i;b=b+4|0}}while((b|0)<(f|0)){a[b>>0]=d;b=b+1|0}return f-e|0}function ke(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){D=b>>>c;return a>>>c|(b&(1<<c)-1)<<32-c}D=0;return b>>>c-32|0}function le(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){D=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}D=a<<c-32;return 0}function me(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;q=q+1|0;c[a>>2]=q;while((f|0)<(e|0)){if(!(c[d+(f<<3)>>2]|0)){c[d+(f<<3)>>2]=q;c[d+((f<<3)+4)>>2]=b;c[d+((f<<3)+8)>>2]=0;D=e;return d|0}f=f+1|0}e=e*2|0;d=de(d|0,8*(e+1|0)|0)|0;d=me(a|0,b|0,d|0,e|0)|0;D=e;return d|0}function ne(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;while((e|0)<(d|0)){f=c[b+(e<<3)>>2]|0;if(!f)break;if((f|0)==(a|0))return c[b+((e<<3)+4)>>2]|0;e=e+1|0}return 0}function oe(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)>=8192)return na(b|0,d|0,e|0)|0;f=b|0;g=b+e|0;if((b&3)==(d&3)){while(b&3){if(!e)return f|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}h=g&-4|0;e=h-64|0;while((b|0)<=(e|0)){c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b+16>>2]=c[d+16>>2];c[b+20>>2]=c[d+20>>2];c[b+24>>2]=c[d+24>>2];c[b+28>>2]=c[d+28>>2];c[b+32>>2]=c[d+32>>2];c[b+36>>2]=c[d+36>>2];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];c[b+56>>2]=c[d+56>>2];c[b+60>>2]=c[d+60>>2];b=b+64|0;d=d+64|0}while((b|0)<(h|0)){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}}else{h=g-4|0;while((b|0)<(h|0)){a[b>>0]=a[d>>0]|0;a[b+1>>0]=a[d+1>>0]|0;a[b+2>>0]=a[d+2>>0]|0;a[b+3>>0]=a[d+3>>0]|0;b=b+4|0;d=d+4|0}}while((b|0)<(g|0)){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}return f|0}function pe(b){b=b|0;var c=0;c=a[n+(b&255)>>0]|0;if((c|0)<8)return c|0;c=a[n+(b>>8&255)>>0]|0;if((c|0)<8)return c+8|0;c=a[n+(b>>16&255)>>0]|0;if((c|0)<8)return c+16|0;return (a[n+(b>>>24)>>0]|0)+24|0}function qe(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0;g=a;h=b;i=h;j=d;k=e;l=k;if(!i){m=(f|0)!=0;if(!l){if(m){c[f>>2]=(g>>>0)%(j>>>0);c[f+4>>2]=0}n=0;o=(g>>>0)/(j>>>0)>>>0;return (D=n,o)|0}else{if(!m){n=0;o=0;return (D=n,o)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;o=0;return (D=n,o)|0}}m=(l|0)==0;do if(j){if(!m){p=(V(l|0)|0)-(V(i|0)|0)|0;if(p>>>0<=31){q=p+1|0;r=31-p|0;s=p-31>>31;t=q;u=g>>>(q>>>0)&s|i<<r;v=i>>>(q>>>0)&s;w=0;x=g<<r;break}if(!f){n=0;o=0;return (D=n,o)|0}c[f>>2]=a|0;c[f+4>>2]=h|b&0;n=0;o=0;return (D=n,o)|0}r=j-1|0;if(r&j|0){s=(V(j|0)|0)+33-(V(i|0)|0)|0;q=64-s|0;p=32-s|0;y=p>>31;z=s-32|0;A=z>>31;t=s;u=p-1>>31&i>>>(z>>>0)|(i<<p|g>>>(s>>>0))&A;v=A&i>>>(s>>>0);w=g<<q&y;x=(i<<q|g>>>(z>>>0))&y|g<<p&s-33>>31;break}if(f|0){c[f>>2]=r&g;c[f+4>>2]=0}if((j|0)==1){n=h|b&0;o=a|0|0;return (D=n,o)|0}else{r=pe(j|0)|0;n=i>>>(r>>>0)|0;o=i<<32-r|g>>>(r>>>0)|0;return (D=n,o)|0}}else{if(m){if(f|0){c[f>>2]=(i>>>0)%(j>>>0);c[f+4>>2]=0}n=0;o=(i>>>0)/(j>>>0)>>>0;return (D=n,o)|0}if(!g){if(f|0){c[f>>2]=0;c[f+4>>2]=(i>>>0)%(l>>>0)}n=0;o=(i>>>0)/(l>>>0)>>>0;return (D=n,o)|0}r=l-1|0;if(!(r&l)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=r&i|b&0}n=0;o=i>>>((pe(l|0)|0)>>>0);return (D=n,o)|0}r=(V(l|0)|0)-(V(i|0)|0)|0;if(r>>>0<=30){s=r+1|0;p=31-r|0;t=s;u=i<<p|g>>>(s>>>0);v=i>>>(s>>>0);w=0;x=g<<p;break}if(!f){n=0;o=0;return (D=n,o)|0}c[f>>2]=a|0;c[f+4>>2]=h|b&0;n=0;o=0;return (D=n,o)|0}while(0);if(!t){B=x;C=w;E=v;F=u;G=0;H=0}else{b=d|0|0;d=k|e&0;e=ie(b|0,d|0,-1,-1)|0;k=D;h=x;x=w;w=v;v=u;u=t;t=0;do{a=h;h=x>>>31|h<<1;x=t|x<<1;g=v<<1|a>>>31|0;a=v>>>31|w<<1|0;he(e|0,k|0,g|0,a|0)|0;i=D;l=i>>31|((i|0)<0?-1:0)<<1;t=l&1;v=he(g|0,a|0,l&b|0,(((i|0)<0?-1:0)>>31|((i|0)<0?-1:0)<<1)&d|0)|0;w=D;u=u-1|0}while((u|0)!=0);B=h;C=x;E=w;F=v;G=0;H=t}t=C;C=0;if(f|0){c[f>>2]=F;c[f+4>>2]=E}n=(t|0)>>>31|(B|C)<<1|(C<<1|t>>>31)&0|G;o=(t<<1|0>>>31)&-2|H;return (D=n,o)|0}function re(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qe(a,b,c,d,0)|0}function se(a){a=a|0;var b=0,d=0;a=a+15&-16|0;b=c[i>>2]|0;d=b+a|0;if((a|0)>0&(d|0)<(b|0)|(d|0)<0){_()|0;la(12);return -1}c[i>>2]=d;if((d|0)>(Z()|0)?(Y()|0)==0:0){la(12);c[i>>2]=b;return -1}return b|0}function te(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+16|0;g=f|0;qe(a,b,d,e,g)|0;l=f;return (D=c[g+4>>2]|0,c[g>>2]|0)|0}function ue(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function ve(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return sa[a&7](b|0,c|0,d|0)|0}function we(a,b){a=a|0;b=b|0;ta[a&7](b|0)}function xe(a,b,c){a=a|0;b=b|0;c=c|0;ua[a&1](b|0,c|0)}function ye(a,b){a=a|0;b=b|0;return va[a&3](b|0)|0}function ze(a){a=a|0;wa[a&3]()}function Ae(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;xa[a&15](b|0,c|0,d|0,e|0,f|0,g|0)}function Be(a,b,c){a=a|0;b=b|0;c=c|0;return ya[a&15](b|0,c|0)|0}function Ce(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return za[a&3](b|0,c|0,d|0,e|0,f|0)|0}function De(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Aa[a&31](b|0,c|0,d|0,e|0)}function Ee(a,b,c){a=a|0;b=b|0;c=c|0;W(0);return 0}function Fe(a){a=a|0;W(1)}function Ge(a,b){a=a|0;b=b|0;W(2)}function He(a){a=a|0;W(3);return 0}function Ie(){W(4)}function Je(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;W(5)}function Ke(a,b){a=a|0;b=b|0;W(6);return 0}function Le(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;W(7);return 0}function Me(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;W(8)}

// EMSCRIPTEN_END_FUNCS
var sa=[Ee,Ic,rd,ld,Wd,tb,kd,Ee];var ta=[Fe,jc,wb,Pa,vb,Rc,Tb,ic];var ua=[Ge,Ua];var va=[He,Hc,jd,Sc];var wa=[Ie,sb,vc,Ie];var xa=[Je,Db,Hb,Fb,Jb,Eb,Ib,Gb,Kb,Je,Je,Je,Je,Je,Je,Je];var ya=[Ke,zc,Ac,Bc,Cc,Dc,Ec,Fc,Gc,Jc,Lc,ad,Na,Ke,Ke,Ke];var za=[Le,Kc,Zc,Le];var Aa=[Me,db,fb,ib,kb,ob,mb,rb,cb,eb,hb,jb,nb,lb,qb,pb,gb,Xa,Wa,_a,ab,$a,Za,bb,Ya,Ma,Me,Me,Me,Me,Me,Me];return{_ogv_video_decoder_destroy:fd,stackSave:Ca,_ogv_video_decoder_init:dd,_memset:je,_ogv_video_decoder_process_frame:hd,getTempRet0:Ha,_bitshift64Lshr:ke,_bitshift64Shl:le,_ogv_video_decoder_process_header:gd,_llvm_cttz_i32:pe,_sbrk:se,_memcpy:oe,stackAlloc:Ba,___uremdi3:te,_i64Subtract:he,___udivmoddi4:qe,setTempRet0:Ga,_realloc:de,_i64Add:ie,_ogv_video_decoder_async:ed,_emscripten_get_global_libc:id,___udivdi3:re,_llvm_bswap_i32:ue,_testSetjmp:ne,_saveSetjmp:me,_free:ce,runPostSets:ge,setThrew:Fa,establishStackSpace:Ea,stackRestore:Da,_malloc:be,stackAlloc:Ba,stackSave:Ca,stackRestore:Da,establishStackSpace:Ea,setThrew:Fa,setTempRet0:Ga,getTempRet0:Ha,dynCall_iiii:ve,dynCall_vi:we,dynCall_vii:xe,dynCall_ii:ye,dynCall_v:ze,dynCall_viiiiii:Ae,dynCall_iii:Be,dynCall_iiiiii:Ce,dynCall_viiii:De}})


// EMSCRIPTEN_END_ASM
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var _ogv_video_decoder_destroy=Module["_ogv_video_decoder_destroy"]=asm["_ogv_video_decoder_destroy"];var stackSave=Module["stackSave"]=asm["stackSave"];var _ogv_video_decoder_init=Module["_ogv_video_decoder_init"]=asm["_ogv_video_decoder_init"];var _memset=Module["_memset"]=asm["_memset"];var _ogv_video_decoder_process_frame=Module["_ogv_video_decoder_process_frame"]=asm["_ogv_video_decoder_process_frame"];var getTempRet0=Module["getTempRet0"]=asm["getTempRet0"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _ogv_video_decoder_process_header=Module["_ogv_video_decoder_process_header"]=asm["_ogv_video_decoder_process_header"];var _llvm_cttz_i32=Module["_llvm_cttz_i32"]=asm["_llvm_cttz_i32"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var ___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var ___udivmoddi4=Module["___udivmoddi4"]=asm["___udivmoddi4"];var setTempRet0=Module["setTempRet0"]=asm["setTempRet0"];var _realloc=Module["_realloc"]=asm["_realloc"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _ogv_video_decoder_async=Module["_ogv_video_decoder_async"]=asm["_ogv_video_decoder_async"];var _emscripten_get_global_libc=Module["_emscripten_get_global_libc"]=asm["_emscripten_get_global_libc"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var _testSetjmp=Module["_testSetjmp"]=asm["_testSetjmp"];var _saveSetjmp=Module["_saveSetjmp"]=asm["_saveSetjmp"];var _free=Module["_free"]=asm["_free"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var setThrew=Module["setThrew"]=asm["setThrew"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var _malloc=Module["_malloc"]=asm["_malloc"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];Runtime.stackAlloc=Module["stackAlloc"];Runtime.stackSave=Module["stackSave"];Runtime.stackRestore=Module["stackRestore"];Runtime.establishStackSpace=Module["establishStackSpace"];Runtime.setTempRet0=Module["setTempRet0"];Runtime.getTempRet0=Module["getTempRet0"];Module["asm"]=asm;Module["then"]=(function(func){if(Module["calledRun"]){func(Module)}else{var old=Module["onRuntimeInitialized"];Module["onRuntimeInitialized"]=(function(){if(old)old();func(Module)})}return Module});function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=0;i<argc-1;i=i+1){argv.push(allocate(intArrayFromString(args[i]),"i8",ALLOC_NORMAL));pad()}argv.push(0);argv=allocate(argv,"i32",ALLOC_NORMAL);try{var ret=Module["_main"](argc,argv,0);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="SimulateInfiniteLoop"){Module["noExitRuntime"]=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}Module.printErr("exception thrown: "+toLog);Module["quit"](1,e)}}finally{calledMain=true}};function run(args){args=args||Module["arguments"];if(preloadStartTime===null)preloadStartTime=Date.now();if(runDependencies>0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=Module.run=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}if(ENVIRONMENT_IS_NODE){process["exit"](status)}Module["quit"](status,new ExitStatus(status))}Module["exit"]=Module.exit=exit;var abortDecorators=[];function abort(what){if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;var extra="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";var output="abort("+what+") at "+stackTrace()+extra;if(abortDecorators){abortDecorators.forEach((function(decorator){output=decorator(output,what)}))}throw output}Module["abort"]=Module.abort=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=false;if(Module["noInitialRun"]){shouldRunNow=false}Module["noExitRuntime"]=true;run();var inputBuffer,inputBufferSize;function reallocInputBuffer(size){if(inputBuffer&&inputBufferSize>=size){return inputBuffer}if(inputBuffer){Module._free(inputBuffer)}inputBufferSize=size;inputBuffer=Module._malloc(inputBufferSize);return inputBuffer}var getTimestamp;if(typeof performance==="undefined"||typeof performance.now==="undefined"){getTimestamp=Date.now}else{getTimestamp=performance.now.bind(performance)}function time(func){var start=getTimestamp(),ret;ret=func();Module.cpuTime+=getTimestamp()-start;return ret}function copyByteArray(bytes){var heap=bytes.buffer;if(heap instanceof ArrayBuffer&&typeof heap.slice==="function"){var extract=heap.slice(bytes.byteOffset,bytes.byteOffset+bytes.byteLength);return new Uint8Array(extract)}else{return new Uint8Array(bytes)}}Module.loadedMetadata=!!options.videoFormat;Module.videoFormat=options.videoFormat||null;Module.frameBuffer=null;Module.cpuTime=0;Object.defineProperty(Module,"processing",{get:function getProcessing(){return false}});Module.init=(function(callback){function finish(){time((function(){Module._ogv_video_decoder_init()}));callback()}if(Module.wasmBinary){Module.onRuntimeInitialized=(function(){finish()})}else{finish()}});Module.processHeader=(function(data,callback){var ret=time((function(){var len=data.byteLength;var buffer=reallocInputBuffer(len);Module.HEAPU8.set(new Uint8Array(data),buffer);return Module._ogv_video_decoder_process_header(buffer,len)}));callback(ret)});Module.callbacks=[];Module.processFrame=(function(data,callback){var isAsync=Module._ogv_video_decoder_async();var len=data.byteLength;var buffer=Module._malloc(len);function callbackWrapper(ret){Module._free(buffer);callback(ret)}if(isAsync){Module.callbacks.push(callbackWrapper)}var ret=time((function(){Module.HEAPU8.set(new Uint8Array(data),buffer);return Module._ogv_video_decoder_process_frame(buffer,len)}));if(!isAsync){callbackWrapper(ret)}});Module.close=(function(){});Math.imul=Math_imul_orig





  return OGVDecoderVideoVP8;
};
})();
